[INFO] cloning repository https://github.com/nbdd0121/klint [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nbdd0121/klint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbdd0121%2Fklint", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbdd0121%2Fklint'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c99c255f26db8870d2959d8b5e6d90194bc693dc [INFO] building nbdd0121/klint against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbdd0121%2Fklint" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/nbdd0121/klint [INFO] finished tweaking git repo https://github.com/nbdd0121/klint [INFO] tweaked toml for git repo https://github.com/nbdd0121/klint written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nbdd0121/klint on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nbdd0121/klint already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fallible-iterator v0.3.0 [INFO] [stderr] Downloaded foldhash v0.1.5 [INFO] [stderr] Downloaded pkg-config v0.3.32 [INFO] [stderr] Downloaded fallible-streaming-iterator v0.1.9 [INFO] [stderr] Downloaded windows-targets v0.53.3 [INFO] [stderr] Downloaded tester v0.9.1 [INFO] [stderr] Downloaded redox_users v0.4.6 [INFO] [stderr] Downloaded diff v0.1.13 [INFO] [stderr] Downloaded rustfix v0.8.7 [INFO] [stderr] Downloaded hermit-abi v0.5.2 [INFO] [stderr] Downloaded filetime v0.2.25 [INFO] [stderr] Downloaded pin-project-lite v0.2.16 [INFO] [stderr] Downloaded miow v0.6.0 [INFO] [stderr] Downloaded tempfile v3.20.0 [INFO] [stderr] Downloaded compiletest_rs v0.11.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.97 [INFO] [stderr] Downloaded tracing-core v0.1.34 [INFO] [stderr] Downloaded redox_syscall v0.5.17 [INFO] [stderr] Downloaded libredox v0.1.9 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded rusqlite v0.37.0 [INFO] [stderr] Downloaded wit-bindgen-rt v0.39.0 [INFO] [stderr] Downloaded getrandom v0.3.3 [INFO] [stderr] Downloaded wasi v0.14.2+wasi-0.2.4 [INFO] [stderr] Downloaded rustversion v1.0.22 [INFO] [stderr] Downloaded hashbrown v0.15.5 [INFO] [stderr] Downloaded r-efi v5.3.0 [INFO] [stderr] Downloaded rustix v1.0.8 [INFO] [stderr] Downloaded unicode-width v0.2.1 [INFO] [stderr] Downloaded windows-link v0.1.3 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded errno v0.3.13 [INFO] [stderr] Downloaded getopts v0.2.23 [INFO] [stderr] Downloaded num_cpus v1.17.0 [INFO] [stderr] Downloaded hashlink v0.10.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.53.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.53.0 [INFO] [stderr] Downloaded libc v0.2.175 [INFO] [stderr] Downloaded windows_i686_msvc v0.53.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.53.0 [INFO] [stderr] Downloaded iced-x86 v1.21.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.53.0 [INFO] [stderr] Downloaded linux-raw-sys v0.9.4 [INFO] [stderr] Downloaded libsqlite3-sys v0.35.0 [INFO] [stderr] Downloaded windows-sys v0.60.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec75c479d341b467ed8aeee596136cc8d337ae6705c78be1291aa77107804657 [INFO] running `Command { std: "docker" "start" "-a" "ec75c479d341b467ed8aeee596136cc8d337ae6705c78be1291aa77107804657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec75c479d341b467ed8aeee596136cc8d337ae6705c78be1291aa77107804657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec75c479d341b467ed8aeee596136cc8d337ae6705c78be1291aa77107804657", kill_on_drop: false }` [INFO] [stdout] ec75c479d341b467ed8aeee596136cc8d337ae6705c78be1291aa77107804657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e48c9214e978c75b0453d5da4525df09b2aecfb2897a8effe5b54f4383b959fa [INFO] running `Command { std: "docker" "start" "-a" "e48c9214e978c75b0453d5da4525df09b2aecfb2897a8effe5b54f4383b959fa", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling klint v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling iced-x86 v1.21.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stdout] error[E0463]: can't find crate for `rustc_macros` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate rustc_macros; [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] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | 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 `tracing` [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate tracing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `itertools` [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_abi` [INFO] [stdout] --> src/main.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern crate rustc_abi; [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_ast` [INFO] [stdout] --> src/main.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | 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_codegen_ssa` [INFO] [stdout] --> src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern crate rustc_codegen_ssa; [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_data_structures` [INFO] [stdout] --> src/main.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | 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[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | 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_errors` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | 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_fluent_macro` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate rustc_fluent_macro; [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] --> src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | 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_index` [INFO] [stdout] --> src/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_index; [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_infer` [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | extern crate rustc_infer; [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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | 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_log` [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | extern crate rustc_log; [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:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | 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_mir_dataflow` [INFO] [stdout] --> src/main.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern crate rustc_mir_dataflow; [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_monomorphize` [INFO] [stdout] --> src/main.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | extern crate rustc_monomorphize; [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_serialize` [INFO] [stdout] --> src/main.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate rustc_serialize; [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_session` [INFO] [stdout] --> src/main.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | extern crate rustc_session; [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_span` [INFO] [stdout] --> src/main.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate rustc_span; [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_target` [INFO] [stdout] --> src/main.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | extern crate rustc_target; [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_trait_selection` [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | extern crate rustc_trait_selection; [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 `thiserror` [INFO] [stdout] --> src/main.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | extern crate thiserror; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[instrument(skip(self, typing_env, body, diag), fields(instance = %PolyDisplay(&typing_env.as_query_input(instance))), ret)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/check.rs:317:58 [INFO] [stdout] | [INFO] [stdout] 317 | | mir::TerminatorKind::FalseUnwind { .. } => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/check.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/check.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | bug!() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/check.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | bug!() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/serde.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | info!("cannot load source file {:?}", stable_source_file_id); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Encodable` in this scope [INFO] [stdout] --> src/preempt_count/mod.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Encodable, Decodable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Decodable` in this scope [INFO] [stdout] --> src/preempt_count/mod.rs:28:56 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Encodable, Decodable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Encodable` in this scope [INFO] [stdout] --> src/preempt_count/mod.rs:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Encodable, Decodable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Decodable` in this scope [INFO] [stdout] --> src/preempt_count/mod.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Encodable, Decodable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:1088:7 [INFO] [stdout] | [INFO] [stdout] 1088 | #[instrument(skip(cx), fields(poly_instance = %PolyDisplay(&poly_instance)), ret)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:928:7 [INFO] [stdout] | [INFO] [stdout] 928 | #[instrument(skip(cx), fields(poly_instance = %PolyDisplay(&poly_instance)), ret)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:997:13 [INFO] [stdout] | [INFO] [stdout] 997 | info!("expectation {} from annotation", exp); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:1027:46 [INFO] [stdout] | [INFO] [stdout] 1027 | (_, Err(Error::Error(_))) => bug!("recursive callee errors"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:1032:36 [INFO] [stdout] | [INFO] [stdout] 1032 | (Ok(_), Err(_)) => bug!("recursive callee too generic but caller is not"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:1033:36 [INFO] [stdout] | [INFO] [stdout] 1033 | (Err(_), Ok(_)) => bug!("monormorphic caller too generic"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:832:7 [INFO] [stdout] | [INFO] [stdout] 832 | #[instrument(skip(cx), fields(poly_ty = %PolyDisplay(&poly_ty)), ret)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:604:7 [INFO] [stdout] | [INFO] [stdout] 604 | #[instrument(skip(cx), fields(poly_ty = %PolyDisplay(&poly_ty)), ret)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:689:21 [INFO] [stdout] | [INFO] [stdout] 689 | info!("expectation {} from annotation", exp); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:802:46 [INFO] [stdout] | [INFO] [stdout] 802 | (_, Err(Error::Error(_))) => bug!("recursive callee errors"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:807:36 [INFO] [stdout] | [INFO] [stdout] 807 | (Ok(_), Err(_)) => bug!("recursive callee too generic but caller is not"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:808:36 [INFO] [stdout] | [INFO] [stdout] 808 | (Err(_), Ok(_)) => bug!("monormorphic caller too generic"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/expectation.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | bug!("failed to report error on {:?}", instance); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/check.rs:758:7 [INFO] [stdout] | [INFO] [stdout] 758 | #[instrument(skip(cx), fields(poly_instance = %PolyDisplay(&poly_instance)), ret)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/check.rs:647:7 [INFO] [stdout] | [INFO] [stdout] 647 | #[instrument(skip(cx), fields(poly_ty = %PolyDisplay(&poly_ty)), ret)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/check.rs:480:7 [INFO] [stdout] | [INFO] [stdout] 480 | #[instrument( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/check.rs:441:7 [INFO] [stdout] | [INFO] [stdout] 441 | #[instrument(skip(cx), fields(poly_instance = %PolyDisplay(&poly_instance)), ret)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/preempt_count/annotation.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | warn!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/adjustment.rs:735:7 [INFO] [stdout] | [INFO] [stdout] 735 | #[instrument(skip(cx), fields(poly_instance = %PolyDisplay(&poly_instance)), ret)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/adjustment.rs:576:7 [INFO] [stdout] | [INFO] [stdout] 576 | #[instrument(skip(cx), fields(poly_instance = %PolyDisplay(&poly_instance)), ret)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/preempt_count/adjustment.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | info!("adjustment {} from annotation", adj); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/adjustment.rs:675:21 [INFO] [stdout] | [INFO] [stdout] 675 | bug!("recursive callee errors"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/adjustment.rs:689:36 [INFO] [stdout] | [INFO] [stdout] 689 | (Err(_), Ok(_)) => bug!("monormorphic caller too generic"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/adjustment.rs:482:7 [INFO] [stdout] | [INFO] [stdout] 482 | #[instrument(skip(cx), fields(poly_ty = %PolyDisplay(&poly_ty)), ret)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/preempt_count/adjustment.rs:282:7 [INFO] [stdout] | [INFO] [stdout] 282 | #[instrument(skip(cx), fields(poly_ty = %PolyDisplay(&poly_ty)), ret)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/preempt_count/adjustment.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 357 | info!("adjustment {} from annotation", adj); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/adjustment.rs:456:46 [INFO] [stdout] | [INFO] [stdout] 456 | (_, Err(Error::Error(_))) => bug!("recursive callee errors"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/adjustment.rs:461:36 [INFO] [stdout] | [INFO] [stdout] 461 | (Ok(_), Err(_)) => bug!("recursive callee too generic but caller is not"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/preempt_count/adjustment.rs:462:36 [INFO] [stdout] | [INFO] [stdout] 462 | (Err(_), Ok(_)) => bug!("monormorphic caller too generic"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1608:5 [INFO] [stdout] | [INFO] [stdout] 1608 | debug!("building mono item graph, beginning at roots"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1454:13 [INFO] [stdout] | [INFO] [stdout] 1454 | debug!("found root"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1340:17 [INFO] [stdout] | [INFO] [stdout] 1340 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1332:17 [INFO] [stdout] | [INFO] [stdout] 1332 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1297:21 [INFO] [stdout] | [INFO] [stdout] 1297 | debug!("RootCollector: ADT drop-glue for `{id:?}`",); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1241:9 [INFO] [stdout] | [INFO] [stdout] 1241 | debug!("collect_roots: entry_fn = {:?}", entry_fn); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1235:5 [INFO] [stdout] | [INFO] [stdout] 1235 | debug!("collecting roots"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1207:17 [INFO] [stdout] | [INFO] [stdout] 1207 | bug!() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1061:13 [INFO] [stdout] | [INFO] [stdout] 1061 | trace!("collecting {:?} with {:#?}", alloc_id, instance); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1048:13 [INFO] [stdout] | [INFO] [stdout] 1048 | trace!("collecting {:?} with {:#?}", alloc_id, alloc); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1044:13 [INFO] [stdout] | [INFO] [stdout] 1044 | trace!("collecting static {:?}", def_id); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1010:9 [INFO] [stdout] | [INFO] [stdout] 1010 | debug!(?entries); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1000:9 [INFO] [stdout] | [INFO] [stdout] 1000 | bug!("create_mono_items_for_vtable_methods: {trait_ty:?} not a trait type"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:972:14 [INFO] [stdout] | [INFO] [stdout] 972 | _ => bug!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:864:13 [INFO] [stdout] | [INFO] [stdout] 864 | bug!("{:?} being reified", instance); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:860:17 [INFO] [stdout] | [INFO] [stdout] 860 | bug!("{:?} being reified", instance); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:827:5 [INFO] [stdout] | [INFO] [stdout] 827 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:813:22 [INFO] [stdout] | [INFO] [stdout] 813 | _ => bug!("failed to resolve instance for {ty}"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:767:58 [INFO] [stdout] | [INFO] [stdout] 767 | | mir::TerminatorKind::FalseUnwind { .. } => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:731:29 [INFO] [stdout] | [INFO] [stdout] 731 | ... trace!("collecting asm sym static {:?}", def_id); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:663:9 [INFO] [stdout] | [INFO] [stdout] 663 | debug!("visiting terminator {:?} @ {:?}", terminator, location); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:643:17 [INFO] [stdout] | [INFO] [stdout] 643 | trace!("collecting thread-local static {:?}", def_id); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | bug!() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | debug!("visiting rvalue {:?}", *rvalue); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `span_bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:554:50 [INFO] [stdout] | [INFO] [stdout] 554 | Err(ErrorHandled::TooGeneric(..)) => span_bug!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | debug!("monomorphize: self.instance={:?}", self.instance); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 489 | debug!(" => recursion depth={}", recursion_depth); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `span_bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | span_bug!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `span_bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:353:29 [INFO] [stdout] | [INFO] [stdout] 353 | ... span_bug!(*op_sp, "invalid operand type for global_asm!") [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:345:29 [INFO] [stdout] | [INFO] [stdout] 345 | ... trace!("collecting static {:?}", def_id); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | bug!() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | bug!("invalid `CoerceUnsized` impl_source: {:?}", impl_source); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Diagnostic` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Diagnostic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `diag` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | #[diag(klint_monomorphize_recursion_limit)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_span` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[primary_span] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[note] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Diagnostic` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Diagnostic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `diag` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[diag(klint_monomorphize_encountered_error_while_instantiating_global_asm)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_span` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[primary_span] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Diagnostic` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Diagnostic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `diag` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[diag(klint_monomorphize_encountered_error_while_instantiating)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_span` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[primary_span] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | bug!(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[instrument(skip(cx))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `diag` in this scope [INFO] [stdout] --> src/binary_analysis/stack_size.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[diag(klint_stack_frame_too_large)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/binary_analysis/stack_size.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[note] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_span` in this scope [INFO] [stdout] --> src/binary_analysis/stack_size.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[primary_span] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `diag` in this scope [INFO] [stdout] --> src/binary_analysis/stack_size.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[diag(klint_stack_frame_limit_invalid)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `help` in this scope [INFO] [stdout] --> src/binary_analysis/stack_size.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[help(klint_stack_frame_limit_help)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_span` in this scope [INFO] [stdout] --> src/binary_analysis/stack_size.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[primary_span] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `diag` in this scope [INFO] [stdout] --> src/binary_analysis/stack_size.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[diag(klint_stack_frame_limit_missing)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `help` in this scope [INFO] [stdout] --> src/binary_analysis/stack_size.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[help(klint_stack_frame_limit_help)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_span` in this scope [INFO] [stdout] --> src/binary_analysis/stack_size.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[primary_span] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/binary_analysis/dwarf.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/binary_analysis/dwarf.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[error("{0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/binary_analysis/dwarf.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | Object(#[from] object::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/binary_analysis/dwarf.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[error("{0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/binary_analysis/dwarf.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[error("unexpected ELF information: {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/binary_analysis/dwarf.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[error("unexpected DWARF information: {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/binary_analysis/dwarf.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[error("{0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/binary_analysis/build_error.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | ... bug!(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/binary_analysis/build_error.rs:75:47 [INFO] [stdout] | [INFO] [stdout] 75 | MonoItem::GlobalAsm(_) => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Diagnostic` in this scope [INFO] [stdout] --> src/binary_analysis/build_error.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Diagnostic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `diag` in this scope [INFO] [stdout] --> src/binary_analysis/build_error.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[diag(klint_build_error_referenced)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Diagnostic` in this scope [INFO] [stdout] --> src/binary_analysis/build_error.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Diagnostic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `diag` in this scope [INFO] [stdout] --> src/binary_analysis/build_error.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[diag(klint_build_error_referenced_without_debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `note` in this scope [INFO] [stdout] --> src/binary_analysis/build_error.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[note] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `primary_span` in this scope [INFO] [stdout] --> src/binary_analysis/build_error.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[primary_span] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Diagnostic` in this scope [INFO] [stdout] --> src/binary_analysis/build_error.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Diagnostic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `diag` in this scope [INFO] [stdout] --> src/binary_analysis/build_error.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[diag(klint_build_error_referenced_without_instance)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Diagnostic` in this scope [INFO] [stdout] --> src/binary_analysis/build_error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Diagnostic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `diag` in this scope [INFO] [stdout] --> src/binary_analysis/build_error.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[diag(klint_build_error_referenced_without_symbol)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Encodable` in this scope [INFO] [stdout] --> src/attribute.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Copy, Encodable, Decodable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Decodable` in this scope [INFO] [stdout] --> src/attribute.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Copy, Encodable, Decodable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/atomic_context.rs:467:21 [INFO] [stdout] | [INFO] [stdout] 467 | bug!("monomorphized function should not be too generic"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/atomic_context.rs:464:21 [INFO] [stdout] | [INFO] [stdout] 464 | bug!("monomorphized function should not be too generic"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/atomic_context.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | warn!("Unable to determine property for FFI function `{}`", symbol); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/atomic_context.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | warn!("Unable to determine property for FFI function `{}`", symbol); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/ctxt.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | info!("klint called on a binary crate"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/ctxt.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | warn!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/ctxt.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/atomic_context.rs:343:47 [INFO] [stdout] | [INFO] [stdout] 343 | fn visit_item(&mut self, i: &'tcx Item<'tcx>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForeignItem` in this scope [INFO] [stdout] --> src/atomic_context.rs:357:55 [INFO] [stdout] | [INFO] [stdout] 357 | fn visit_foreign_item(&mut self, i: &'tcx ForeignItem<'tcx>) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItem` in this scope [INFO] [stdout] --> src/atomic_context.rs:367:54 [INFO] [stdout] | [INFO] [stdout] 367 | fn visit_trait_item(&mut self, ti: &'tcx TraitItem<'tcx>) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/atomic_context.rs:380:27 [INFO] [stdout] | [INFO] [stdout] 380 | fd: &'tcx FnDecl<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope [INFO] [stdout] --> src/atomic_context.rs:381:20 [INFO] [stdout] | [INFO] [stdout] 381 | b: BodyId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INCORRECT_ATTRIBUTE` in the crate root [INFO] [stdout] --> src/attribute.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | .node_span_lint(crate::INCORRECT_ATTRIBUTE, self.hir_id, span, |lint| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INCORRECT_ATTRIBUTE` in the crate root [INFO] [stdout] --> src/attribute.rs:420:40 [INFO] [stdout] | [INFO] [stdout] 420 | .node_span_lint(crate::INCORRECT_ATTRIBUTE, self.hir_id, item.span, |lint| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INCORRECT_ATTRIBUTE` in the crate root [INFO] [stdout] --> src/attribute.rs:459:28 [INFO] [stdout] | [INFO] [stdout] 459 | crate::INCORRECT_ATTRIBUTE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STACK_FRAME_TOO_LARGE` in this scope [INFO] [stdout] --> src/binary_analysis/stack_size.rs:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | let lint_cfg = cx.lint_level_at_node(STACK_FRAME_TOO_LARGE, CRATE_HIR_ID); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InfallibleAllocation` in this scope [INFO] [stdout] --> src/infallible_allocation.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | impl<'tcx> LateLintPass<'tcx> for InfallibleAllocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFALLIBLE_ALLOCATION` in this scope [INFO] [stdout] --> src/infallible_allocation.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | cx.span_lint(&INFALLIBLE_ALLOCATION, item.span, |diag| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> IndexVec> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn local_decls_for_sig<'tcx, Local>( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDecl` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> IndexVec> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Body<'tcx> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlock` [INFO] [stdout] --> src/mir/drop_shim.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | let return_block = BasicBlock::new(1); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BasicBlock` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | Some(Terminator { source_info, kind }), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `START_BLOCK` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | START_BLOCK, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MirSource` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | source: MirSource<'tcx>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | basic_blocks: IndexVec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlockData` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | basic_blocks: IndexVec>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:110:27 [INFO] [stdout] | [INFO] [stdout] 110 | local_decls: IndexVec>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 107 | fn new_body<'tcx, Local>( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDecl` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | local_decls: IndexVec>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Body<'tcx> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SourceScopeData` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | SourceScopeData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | pub body: &'a Body<'tcx>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | fn body(&self) -> &'a Body<'tcx> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:173:34 [INFO] [stdout] | [INFO] [stdout] 173 | fn terminator_loc(&self, bb: BasicBlock) -> Location { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:173:49 [INFO] [stdout] | [INFO] [stdout] 173 | fn terminator_loc(&self, bb: BasicBlock) -> Location { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 8 + use gimli::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Operand` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:195:62 [INFO] [stdout] | [INFO] [stdout] 195 | fn get_drop_flag(&mut self, _path: Self::Path) -> Option> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/mir/drop_shim.rs:199:46 [INFO] [stdout] | [INFO] [stdout] 199 | fn clear_drop_flag(&mut self, _location: Location, _path: Self::Path, _mode: DropFlagMode) {} [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 8 + use gimli::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | To(BasicBlock), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnwindAction` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | fn into_action(self) -> UnwindAction { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnwindTerminateReason` [INFO] [stdout] --> src/mir/elaborate_drop.rs:72:58 [INFO] [stdout] | [INFO] [stdout] 72 | Unwind::InCleanup => UnwindAction::Terminate(UnwindTerminateReason::InCleanup), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UnwindTerminateReason` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::UnwindTerminateReason; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | F: FnOnce(BasicBlock) -> BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | F: FnOnce(BasicBlock) -> BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | fn body(&self) -> &'a Body<'tcx>; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | fn terminator_loc(&self, bb: BasicBlock) -> Location; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | fn terminator_loc(&self, bb: BasicBlock) -> Location; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 5 + use gimli::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Operand` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:112:61 [INFO] [stdout] | [INFO] [stdout] 112 | fn get_drop_flag(&mut self, path: Self::Path) -> Option>; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:118:45 [INFO] [stdout] | [INFO] [stdout] 118 | fn clear_drop_flag(&mut self, location: Location, path: Self::Path, mode: DropFlagMode); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 5 + use gimli::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceInfo` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | source_info: SourceInfo, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | place: Place<'tcx>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | succ: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | dropline: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceInfo` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | source_info: SourceInfo, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | place: Place<'tcx>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | succ: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | bb: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | dropline: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:202:31 [INFO] [stdout] | [INFO] [stdout] 202 | fn place_ty(&self, place: Place<'tcx>) -> Ty<'tcx> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 226 | place: Place<'tcx>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | bb: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | succ: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | dropline: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | ) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConstOperand` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:345:67 [INFO] [stdout] | [INFO] [stdout] 345 | let pin_obj_new_unchecked_fn = Operand::Constant(Box::new(ConstOperand { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/mir/elaborate_drop.rs:390:30 [INFO] [stdout] | [INFO] [stdout] 390 | call_statements.push(Statement::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use rusqlite::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Location` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | Location { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Location` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:424:17 [INFO] [stdout] | [INFO] [stdout] 424 | Location { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Location` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | Location { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:458:34 [INFO] [stdout] | [INFO] [stdout] 458 | fn build_drop(&mut self, bb: BasicBlock) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:513:38 [INFO] [stdout] | [INFO] [stdout] 513 | fn elaborate_drop(&mut self, bb: BasicBlock) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:542:21 [INFO] [stdout] | [INFO] [stdout] 542 | base_place: Place<'tcx>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:546:15 [INFO] [stdout] | [INFO] [stdout] 546 | ) -> Vec<(Place<'tcx>, Option)> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:579:16 [INFO] [stdout] | [INFO] [stdout] 579 | place: Place<'tcx>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:581:15 [INFO] [stdout] | [INFO] [stdout] 581 | succ: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:583:26 [INFO] [stdout] | [INFO] [stdout] 583 | dropline: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:584:10 [INFO] [stdout] | [INFO] [stdout] 584 | ) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:629:35 [INFO] [stdout] | [INFO] [stdout] 629 | dropline_ladder: &[Option], [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:630:19 [INFO] [stdout] | [INFO] [stdout] 630 | mut succ: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:631:20 [INFO] [stdout] | [INFO] [stdout] 631 | fields: &[(Place<'tcx>, Option)], [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:632:14 [INFO] [stdout] | [INFO] [stdout] 632 | ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:645:42 [INFO] [stdout] | [INFO] [stdout] 645 | fn drop_ladder_bottom(&mut self) -> (BasicBlock, Unwind, Option) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:645:69 [INFO] [stdout] | [INFO] [stdout] 645 | fn drop_ladder_bottom(&mut self) -> (BasicBlock, Unwind, Option) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:695:22 [INFO] [stdout] | [INFO] [stdout] 695 | fields: Vec<(Place<'tcx>, Option)>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:696:15 [INFO] [stdout] | [INFO] [stdout] 696 | succ: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:698:26 [INFO] [stdout] | [INFO] [stdout] 698 | dropline: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:699:11 [INFO] [stdout] | [INFO] [stdout] 699 | ) -> (BasicBlock, Unwind, Option) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:699:38 [INFO] [stdout] | [INFO] [stdout] 699 | ) -> (BasicBlock, Unwind, Option) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:718:41 [INFO] [stdout] | [INFO] [stdout] 718 | let dropline_ladder: Vec> = vec![None; fields.len() + 1]; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:743:60 [INFO] [stdout] | [INFO] [stdout] 743 | fn open_drop_for_tuple(&mut self, tys: &[Ty<'tcx>]) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:767:15 [INFO] [stdout] | [INFO] [stdout] 767 | succ: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:769:26 [INFO] [stdout] | [INFO] [stdout] 769 | dropline: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:770:10 [INFO] [stdout] | [INFO] [stdout] 770 | ) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:797:18 [INFO] [stdout] | [INFO] [stdout] 797 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:811:10 [INFO] [stdout] | [INFO] [stdout] 811 | ) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:814:22 [INFO] [stdout] | [INFO] [stdout] 814 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:864:11 [INFO] [stdout] | [INFO] [stdout] 864 | ) -> (BasicBlock, Unwind, Option) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:864:38 [INFO] [stdout] | [INFO] [stdout] 864 | ) -> (BasicBlock, Unwind, Option) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:879:15 [INFO] [stdout] | [INFO] [stdout] 879 | succ: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:881:26 [INFO] [stdout] | [INFO] [stdout] 881 | dropline: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:882:11 [INFO] [stdout] | [INFO] [stdout] 882 | ) -> (BasicBlock, Unwind, Option) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:882:38 [INFO] [stdout] | [INFO] [stdout] 882 | ) -> (BasicBlock, Unwind, Option) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:932:53 [INFO] [stdout] | [INFO] [stdout] 932 | let dropline_ladder: Vec> = vec![None; fields.len() + 1]; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:996:21 [INFO] [stdout] | [INFO] [stdout] 996 | blocks: Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:998:15 [INFO] [stdout] | [INFO] [stdout] 998 | succ: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1000:10 [INFO] [stdout] | [INFO] [stdout] 1000 | ) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1013:18 [INFO] [stdout] | [INFO] [stdout] 1013 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1029:63 [INFO] [stdout] | [INFO] [stdout] 1029 | fn destructor_call_block_sync(&mut self, (succ, unwind): (BasicBlock, Unwind)) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1029:87 [INFO] [stdout] | [INFO] [stdout] 1029 | fn destructor_call_block_sync(&mut self, (succ, unwind): (BasicBlock, Unwind)) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1051:18 [INFO] [stdout] | [INFO] [stdout] 1051 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1080:36 [INFO] [stdout] | [INFO] [stdout] 1080 | (succ, unwind, dropline): (BasicBlock, Unwind, Option), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1080:63 [INFO] [stdout] | [INFO] [stdout] 1080 | (succ, unwind, dropline): (BasicBlock, Unwind, Option), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1081:10 [INFO] [stdout] | [INFO] [stdout] 1081 | ) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1109:15 [INFO] [stdout] | [INFO] [stdout] 1109 | succ: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1110:14 [INFO] [stdout] | [INFO] [stdout] 1110 | cur: Local, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1111:14 [INFO] [stdout] | [INFO] [stdout] 1111 | len: Local, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1114:26 [INFO] [stdout] | [INFO] [stdout] 1114 | dropline: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1115:10 [INFO] [stdout] | [INFO] [stdout] 1115 | ) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1116:28 [INFO] [stdout] | [INFO] [stdout] 1116 | let copy = |place: Place<'tcx>| Operand::Copy(place); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1117:29 [INFO] [stdout] | [INFO] [stdout] 1117 | let move_ = |place: Place<'tcx>| Operand::Move(place); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1136:18 [INFO] [stdout] | [INFO] [stdout] 1136 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1153:18 [INFO] [stdout] | [INFO] [stdout] 1153 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1198:10 [INFO] [stdout] | [INFO] [stdout] 1198 | ) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1300:42 [INFO] [stdout] | [INFO] [stdout] 1300 | delegate_block.terminator = Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1311:62 [INFO] [stdout] | [INFO] [stdout] 1311 | fn drop_loop_trio_for_slice(&mut self, ety: Ty<'tcx>) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1347:18 [INFO] [stdout] | [INFO] [stdout] 1347 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1368:32 [INFO] [stdout] | [INFO] [stdout] 1368 | fn open_drop(&mut self) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1399:26 [INFO] [stdout] | [INFO] [stdout] 1399 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1411:39 [INFO] [stdout] | [INFO] [stdout] 1411 | fn complete_drop(&mut self, succ: BasicBlock, unwind: Unwind) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1411:70 [INFO] [stdout] | [INFO] [stdout] 1411 | fn complete_drop(&mut self, succ: BasicBlock, unwind: Unwind) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1424:15 [INFO] [stdout] | [INFO] [stdout] 1424 | succ: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1426:10 [INFO] [stdout] | [INFO] [stdout] 1426 | ) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Location` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1435:27 [INFO] [stdout] | [INFO] [stdout] 1435 | let block_start = Location { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1444:44 [INFO] [stdout] | [INFO] [stdout] 1444 | fn elaborated_drop_block(&mut self) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1451:45 [INFO] [stdout] | [INFO] [stdout] 1451 | fn drop_block_simple(&mut self, target: BasicBlock, unwind: Unwind) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1451:76 [INFO] [stdout] | [INFO] [stdout] 1451 | fn drop_block_simple(&mut self, target: BasicBlock, unwind: Unwind) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1463:38 [INFO] [stdout] | [INFO] [stdout] 1463 | fn drop_block(&mut self, target: BasicBlock, unwind: Unwind) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1463:69 [INFO] [stdout] | [INFO] [stdout] 1463 | fn drop_block(&mut self, target: BasicBlock, unwind: Unwind) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1493:38 [INFO] [stdout] | [INFO] [stdout] 1493 | fn goto_block(&mut self, target: BasicBlock, unwind: Unwind) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1493:69 [INFO] [stdout] | [INFO] [stdout] 1493 | fn goto_block(&mut self, target: BasicBlock, unwind: Unwind) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1505:17 [INFO] [stdout] | [INFO] [stdout] 1505 | on_set: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1506:19 [INFO] [stdout] | [INFO] [stdout] 1506 | on_unset: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1508:10 [INFO] [stdout] | [INFO] [stdout] 1508 | ) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TerminatorKind` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1526:48 [INFO] [stdout] | [INFO] [stdout] 1526 | fn new_block(&mut self, unwind: Unwind, k: TerminatorKind<'tcx>) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1526:73 [INFO] [stdout] | [INFO] [stdout] 1526 | fn new_block(&mut self, unwind: Unwind, k: TerminatorKind<'tcx>) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1528:18 [INFO] [stdout] | [INFO] [stdout] 1528 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Statement` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1539:25 [INFO] [stdout] | [INFO] [stdout] 1539 | statements: Vec>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use rusqlite::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TerminatorKind` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1540:12 [INFO] [stdout] | [INFO] [stdout] 1540 | k: TerminatorKind<'tcx>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1541:10 [INFO] [stdout] | [INFO] [stdout] 1541 | ) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1544:18 [INFO] [stdout] | [INFO] [stdout] 1544 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1552:45 [INFO] [stdout] | [INFO] [stdout] 1552 | fn new_temp(&mut self, ty: Ty<'tcx>) -> Local { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Operand` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1556:43 [INFO] [stdout] | [INFO] [stdout] 1556 | fn constant_usize(&self, val: u16) -> Operand<'tcx> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConstOperand` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1557:36 [INFO] [stdout] | [INFO] [stdout] 1557 | Operand::Constant(Box::new(ConstOperand { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1564:27 [INFO] [stdout] | [INFO] [stdout] 1564 | fn assign(&self, lhs: Place<'tcx>, rhs: Rvalue<'tcx>) -> Statement<'tcx> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rvalue` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1564:45 [INFO] [stdout] | [INFO] [stdout] 1564 | fn assign(&self, lhs: Place<'tcx>, rhs: Rvalue<'tcx>) -> Statement<'tcx> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Statement` in this scope [INFO] [stdout] --> src/mir/elaborate_drop.rs:1564:62 [INFO] [stdout] | [INFO] [stdout] 1564 | fn assign(&self, lhs: Place<'tcx>, rhs: Rvalue<'tcx>) -> Statement<'tcx> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use rusqlite::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1565:9 [INFO] [stdout] | [INFO] [stdout] 1565 | Statement::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use rusqlite::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | term_patch_map: IndexVec>>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TerminatorKind` in this scope [INFO] [stdout] --> src/mir/patch.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | term_patch_map: IndexVec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlockData` in this scope [INFO] [stdout] --> src/mir/patch.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | new_blocks: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/mir/patch.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | new_statements: Vec<(Location, StatementKind<'tcx>)>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 5 + use gimli::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StatementKind` in this scope [INFO] [stdout] --> src/mir/patch.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | new_statements: Vec<(Location, StatementKind<'tcx>)>, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDecl` in this scope [INFO] [stdout] --> src/mir/patch.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | new_locals: Vec>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | resume_block: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | unreachable_cleanup_block: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | unreachable_no_cleanup_block: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | terminate_block: Option<(BasicBlock, UnwindTerminateReason)>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnwindTerminateReason` in this scope [INFO] [stdout] --> src/mir/patch.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | terminate_block: Option<(BasicBlock, UnwindTerminateReason)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::UnwindTerminateReason; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/mir/patch.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn new(body: &Body<'tcx>) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn resume_block(&mut self) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/patch.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:96:59 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn unreachable_cleanup_block(&mut self) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/patch.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:112:62 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn unreachable_no_cleanup_block(&mut self) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/patch.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnwindTerminateReason` in this scope [INFO] [stdout] --> src/mir/patch.rs:128:54 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) fn terminate_block(&mut self, reason: UnwindTerminateReason) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::UnwindTerminateReason; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:128:80 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) fn terminate_block(&mut self, reason: UnwindTerminateReason) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Terminator` in this scope [INFO] [stdout] --> src/mir/patch.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | Some(Terminator { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:147:46 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) fn is_term_patched(&self, bb: BasicBlock) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/mir/patch.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | body: &'a Body<'tcx>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | bb: BasicBlock, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlockData` in this scope [INFO] [stdout] --> src/mir/patch.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | ) -> &'a BasicBlockData<'tcx> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/mir/patch.rs:163:48 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn terminator_loc(&self, body: &Body<'tcx>, bb: BasicBlock) -> Location { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:163:64 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn terminator_loc(&self, body: &Body<'tcx>, bb: BasicBlock) -> Location { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/mir/patch.rs:163:79 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn terminator_loc(&self, body: &Body<'tcx>, bb: BasicBlock) -> Location { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 5 + use gimli::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Location` in this scope [INFO] [stdout] --> src/mir/patch.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | Location { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalInfo` in this scope [INFO] [stdout] --> src/mir/patch.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | local_info: LocalInfo<'tcx>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> src/mir/patch.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | ) -> Local { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> src/mir/patch.rs:187:68 [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) fn new_temp(&mut self, ty: Ty<'tcx>, span: Span) -> Local { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> src/mir/patch.rs:195:42 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) fn local_ty(&self, local: Local) -> Ty<'tcx> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlockData` in this scope [INFO] [stdout] --> src/mir/patch.rs:203:46 [INFO] [stdout] | [INFO] [stdout] 203 | pub(crate) fn new_block(&mut self, data: BasicBlockData<'tcx>) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:203:71 [INFO] [stdout] | [INFO] [stdout] 203 | pub(crate) fn new_block(&mut self, data: BasicBlockData<'tcx>) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlock` [INFO] [stdout] --> src/mir/patch.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let block = BasicBlock::new(self.term_patch_map.len()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BasicBlock` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlock` in this scope [INFO] [stdout] --> src/mir/patch.rs:212:54 [INFO] [stdout] | [INFO] [stdout] 212 | pub(crate) fn patch_terminator(&mut self, block: BasicBlock, new: TerminatorKind<'tcx>) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use std::intrinsics::mir::BasicBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TerminatorKind` in this scope [INFO] [stdout] --> src/mir/patch.rs:212:71 [INFO] [stdout] | [INFO] [stdout] 212 | pub(crate) fn patch_terminator(&mut self, block: BasicBlock, new: TerminatorKind<'tcx>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/mir/patch.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn add_statement(&mut self, loc: Location, stmt: StatementKind<'tcx>) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 5 + use gimli::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StatementKind` in this scope [INFO] [stdout] --> src/mir/patch.rs:231:65 [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn add_statement(&mut self, loc: Location, stmt: StatementKind<'tcx>) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/mir/patch.rs:237:46 [INFO] [stdout] | [INFO] [stdout] 237 | pub(crate) fn add_assign(&mut self, loc: Location, place: Place<'tcx>, rv: Rvalue<'tcx>) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 5 + use gimli::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Place` in this scope [INFO] [stdout] --> src/mir/patch.rs:237:63 [INFO] [stdout] | [INFO] [stdout] 237 | pub(crate) fn add_assign(&mut self, loc: Location, place: Place<'tcx>, rv: Rvalue<'tcx>) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rvalue` in this scope [INFO] [stdout] --> src/mir/patch.rs:237:80 [INFO] [stdout] | [INFO] [stdout] 237 | pub(crate) fn add_assign(&mut self, loc: Location, place: Place<'tcx>, rv: Rvalue<'tcx>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/mir/patch.rs:242:42 [INFO] [stdout] | [INFO] [stdout] 242 | pub(crate) fn apply(self, body: &mut Body<'tcx>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `START_BLOCK` in this scope [INFO] [stdout] --> src/mir/patch.rs:275:27 [INFO] [stdout] | [INFO] [stdout] 275 | let mut last_bb = START_BLOCK; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/mir/patch.rs:289:46 [INFO] [stdout] | [INFO] [stdout] 289 | .insert(loc.statement_index, Statement::new(source_info, stmt)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use rusqlite::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BasicBlockData` in this scope [INFO] [stdout] --> src/mir/patch.rs:294:37 [INFO] [stdout] | [INFO] [stdout] 294 | fn source_info_for_index(data: &BasicBlockData<'_>, loc: Location) -> SourceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/mir/patch.rs:294:62 [INFO] [stdout] | [INFO] [stdout] 294 | fn source_info_for_index(data: &BasicBlockData<'_>, loc: Location) -> SourceInfo { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 5 + use gimli::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceInfo` in this scope [INFO] [stdout] --> src/mir/patch.rs:294:75 [INFO] [stdout] | [INFO] [stdout] 294 | fn source_info_for_index(data: &BasicBlockData<'_>, loc: Location) -> SourceInfo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/mir/patch.rs:301:58 [INFO] [stdout] | [INFO] [stdout] 301 | pub(crate) fn source_info_for_location(&self, body: &Body<'tcx>, loc: Location) -> SourceInfo { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/mir/patch.rs:301:75 [INFO] [stdout] | [INFO] [stdout] 301 | pub(crate) fn source_info_for_location(&self, body: &Body<'tcx>, loc: Location) -> SourceInfo { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::binary_analysis::dwarf::Location` exists but is inaccessible [INFO] [stdout] --> src/binary_analysis/dwarf.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 5 + use gimli::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceInfo` in this scope [INFO] [stdout] --> src/mir/patch.rs:301:88 [INFO] [stdout] | [INFO] [stdout] 301 | pub(crate) fn source_info_for_location(&self, body: &Body<'tcx>, loc: Location) -> SourceInfo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_LOCALE_RESOURCE` in the crate root [INFO] [stdout] --> src/main.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | config.locale_resources.push(crate::DEFAULT_LOCALE_RESOURCE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INCORRECT_ATTRIBUTE` in this scope [INFO] [stdout] --> src/main.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | lint_store.register_lints(&[&INCORRECT_ATTRIBUTE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFALLIBLE_ALLOCATION` in module `infallible_allocation` [INFO] [stdout] --> src/main.rs:106:65 [INFO] [stdout] | [INFO] [stdout] 106 | lint_store.register_lints(&[&infallible_allocation::INFALLIBLE_ALLOCATION]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `infallible_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ATOMIC_CONTEXT` in module `atomic_context` [INFO] [stdout] --> src/main.rs:107:58 [INFO] [stdout] | [INFO] [stdout] 107 | lint_store.register_lints(&[&atomic_context::ATOMIC_CONTEXT]); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `atomic_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STACK_FRAME_TOO_LARGE` in module `binary_analysis::stack_size` [INFO] [stdout] --> src/main.rs:108:71 [INFO] [stdout] | [INFO] [stdout] 108 | lint_store.register_lints(&[&binary_analysis::stack_size::STACK_FRAME_TOO_LARGE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `binary_analysis::stack_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/atomic_context.rs:345:21 [INFO] [stdout] | [INFO] [stdout] 345 | ItemKind::Struct(..) | ItemKind::Union(..) | ItemKind::Enum(..) => { [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] --> src/atomic_context.rs:345:44 [INFO] [stdout] | [INFO] [stdout] 345 | ItemKind::Struct(..) | ItemKind::Union(..) | ItemKind::Enum(..) => { [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] --> src/atomic_context.rs:345:66 [INFO] [stdout] | [INFO] [stdout] 345 | ItemKind::Struct(..) | ItemKind::Union(..) | ItemKind::Enum(..) => { [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] --> src/atomic_context.rs:348:21 [INFO] [stdout] | [INFO] [stdout] 348 | ItemKind::Trait(..) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForeignItemKind` [INFO] [stdout] --> src/atomic_context.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | ForeignItemKind::Fn(..) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ForeignItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TraitItemKind` [INFO] [stdout] --> src/atomic_context.rs:369:21 [INFO] [stdout] | [INFO] [stdout] 369 | TraitItemKind::Fn(_, TraitFn::Required(_)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TraitItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TraitFn` [INFO] [stdout] --> src/atomic_context.rs:369:42 [INFO] [stdout] | [INFO] [stdout] 369 | TraitItemKind::Fn(_, TraitFn::Required(_)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `TraitFn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalDecl` [INFO] [stdout] --> src/mir/drop_shim.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | iter::once(LocalDecl::new(sig.output(), span)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalDecl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalDecl` [INFO] [stdout] --> src/mir/drop_shim.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | .map(|ity| LocalDecl::new(*ity, span).immutable()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalDecl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SourceInfo` [INFO] [stdout] --> src/mir/drop_shim.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | let source_info = SourceInfo::outermost(span); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SourceInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/drop_shim.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | blocks.push(BasicBlockData::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/drop_shim.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | TerminatorKind::Goto { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/drop_shim.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | block(&mut blocks, TerminatorKind::Return); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MirSource` [INFO] [stdout] --> src/mir/drop_shim.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let source = MirSource::from_instance(ty::InstanceKind::DropGlue(def_id, Some(ty))); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MirSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/drop_shim.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let dropee_ptr = Place::from(Local::new(1 + 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Local` [INFO] [stdout] --> src/mir/drop_shim.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | let dropee_ptr = Place::from(Local::new(1 + 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Body` [INFO] [stdout] --> src/mir/drop_shim.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | let mut body = Body::new( [INFO] [stdout] | ^^^^ use of undeclared type `Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClearCrossCrate` [INFO] [stdout] --> src/mir/drop_shim.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | local_data: ClearCrossCrate::Clear, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ClearCrossCrate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnwindAction` [INFO] [stdout] --> src/mir/elaborate_drop.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | Unwind::To(bb) => UnwindAction::Cleanup(bb), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `UnwindAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnwindAction` [INFO] [stdout] --> src/mir/elaborate_drop.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | Unwind::InCleanup => UnwindAction::Terminate(UnwindTerminateReason::InCleanup), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `UnwindAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlaceTy` [INFO] [stdout] --> src/mir/elaborate_drop.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | PlaceTy::from_ty(self.elaborator.patch_ref().local_ty(place.local)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `PlaceTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/elaborate_drop.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | self.elaborator.patch().new_block(BasicBlockData::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:242:27 [INFO] [stdout] | [INFO] [stdout] 242 | kind: TerminatorKind::Return, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | TerminatorKind::Drop { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:314:19 [INFO] [stdout] | [INFO] [stdout] 314 | let fut = Place::from(self.new_temp(fut_ty)); [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:318:29 [INFO] [stdout] | [INFO] [stdout] 318 | let obj_ref_place = Place::from(self.new_temp(obj_ref_ty)); [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | Rvalue::Ref( [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BorrowKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | BorrowKind::Mut { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BorrowKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutBorrowKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:327:27 [INFO] [stdout] | [INFO] [stdout] 327 | kind: MutBorrowKind::Default, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MutBorrowKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:344:29 [INFO] [stdout] | [INFO] [stdout] 344 | let pin_obj_place = Place::from(self.new_temp(pin_obj_ty)); [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:345:40 [INFO] [stdout] | [INFO] [stdout] 345 | let pin_obj_new_unchecked_fn = Operand::Constant(Box::new(ConstOperand { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Const` [INFO] [stdout] --> src/mir/elaborate_drop.rs:348:21 [INFO] [stdout] | [INFO] [stdout] 348 | const_: Const::zero_sized(pin_obj_new_unchecked_fn), [INFO] [stdout] | ^^^^^ use of undeclared type `Const` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `object::coff::ImportType::Const`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 348 - const_: Const::zero_sized(pin_obj_new_unchecked_fn), [INFO] [stdout] 348 + const_: object::coff::ImportType::zero_sized(pin_obj_new_unchecked_fn), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | TerminatorKind::Drop { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:374:33 [INFO] [stdout] | [INFO] [stdout] 374 | let obj_ref_place = Place::from(self.new_temp(unwrap_ty)); [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | Rvalue::Use(Operand::Copy(tcx.mk_place_field( [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:377:29 [INFO] [stdout] | [INFO] [stdout] 377 | Rvalue::Use(Operand::Copy(tcx.mk_place_field( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:384:33 [INFO] [stdout] | [INFO] [stdout] 384 | let obj_ptr_place = Place::from(self.new_temp(obj_ptr_ty)); [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:386:24 [INFO] [stdout] | [INFO] [stdout] 386 | let addr = Rvalue::RawPtr(RawPtrKind::Mut, tcx.mk_place_deref(obj_ref_place)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawPtrKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:386:39 [INFO] [stdout] | [INFO] [stdout] 386 | let addr = Rvalue::RawPtr(RawPtrKind::Mut, tcx.mk_place_deref(obj_ref_place)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RawPtrKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatementKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | StatementKind::StorageLive(fut.local), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `StatementKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | TerminatorKind::Call { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:399:23 [INFO] [stdout] | [INFO] [stdout] 399 | func: Operand::function_handle(tcx, drop_fn_def_id, trait_args, span), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:401:27 [INFO] [stdout] | [INFO] [stdout] 401 | node: Operand::Move(drop_arg), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallSource` [INFO] [stdout] --> src/mir/elaborate_drop.rs:408:30 [INFO] [stdout] | [INFO] [stdout] 408 | call_source: CallSource::Misc, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CallSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatementKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | StatementKind::StorageDead(fut.local), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `StatementKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatementKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | StatementKind::StorageDead(fut.local), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `StatementKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatementKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | StatementKind::StorageDead(fut.local), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `StatementKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | TerminatorKind::Call { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:447:38 [INFO] [stdout] | [INFO] [stdout] 447 | args: [dummy_spanned(Operand::Move(obj_ref_place))].into(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallSource` [INFO] [stdout] --> src/mir/elaborate_drop.rs:451:30 [INFO] [stdout] | [INFO] [stdout] 451 | call_source: CallSource::Misc, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CallSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 482 | TerminatorKind::Drop { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:518:43 [INFO] [stdout] | [INFO] [stdout] 518 | .patch_terminator(bb, TerminatorKind::Goto { target: self.succ }); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:527:43 [INFO] [stdout] | [INFO] [stdout] 527 | .patch_terminator(bb, TerminatorKind::Goto { target: drop_bb }); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:533:43 [INFO] [stdout] | [INFO] [stdout] 533 | .patch_terminator(bb, TerminatorKind::Goto { target: drop_bb }); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:787:50 [INFO] [stdout] | [INFO] [stdout] 787 | let interior = self.tcx().mk_place_deref(Place::from(ptr_local)); [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/elaborate_drop.rs:792:25 [INFO] [stdout] | [INFO] [stdout] 792 | let setup_bbd = BasicBlockData::new_stmts( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:794:17 [INFO] [stdout] | [INFO] [stdout] 794 | Place::from(ptr_local), [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:795:17 [INFO] [stdout] | [INFO] [stdout] 795 | Rvalue::Cast(CastKind::Transmute, Operand::Copy(nonnull_place), ptr_ty), [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CastKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:795:30 [INFO] [stdout] | [INFO] [stdout] 795 | Rvalue::Cast(CastKind::Transmute, Operand::Copy(nonnull_place), ptr_ty), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CastKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:795:51 [INFO] [stdout] | [INFO] [stdout] 795 | Rvalue::Cast(CastKind::Transmute, Operand::Copy(nonnull_place), ptr_ty), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:798:23 [INFO] [stdout] | [INFO] [stdout] 798 | kind: TerminatorKind::Goto { target: do_drop_bb }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/elaborate_drop.rs:813:54 [INFO] [stdout] | [INFO] [stdout] 813 | return self.elaborator.patch().new_block(BasicBlockData::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:816:27 [INFO] [stdout] | [INFO] [stdout] 816 | kind: TerminatorKind::Unreachable, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProjectionElem` [INFO] [stdout] --> src/mir/elaborate_drop.rs:907:21 [INFO] [stdout] | [INFO] [stdout] 907 | ProjectionElem::Downcast(Some(variant.name), variant_index), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ProjectionElem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1009:21 [INFO] [stdout] | [INFO] [stdout] 1009 | let discr = Place::from(self.new_temp(discr_ty)); [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1010:24 [INFO] [stdout] | [INFO] [stdout] 1010 | let discr_rv = Rvalue::Discriminant(self.place); [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1011:28 [INFO] [stdout] | [INFO] [stdout] 1011 | let switch_block = BasicBlockData::new_stmts( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1015:23 [INFO] [stdout] | [INFO] [stdout] 1015 | kind: TerminatorKind::SwitchInt { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1016:28 [INFO] [stdout] | [INFO] [stdout] 1016 | discr: Operand::Move(discr), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwitchTargets` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1017:30 [INFO] [stdout] | [INFO] [stdout] 1017 | targets: SwitchTargets::new( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SwitchTargets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1038:25 [INFO] [stdout] | [INFO] [stdout] 1038 | let unit_temp = Place::from(self.new_temp(tcx.types.unit)); [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1040:22 [INFO] [stdout] | [INFO] [stdout] 1040 | let result = BasicBlockData::new_stmts( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1042:17 [INFO] [stdout] | [INFO] [stdout] 1042 | Place::from(ref_place), [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1043:17 [INFO] [stdout] | [INFO] [stdout] 1043 | Rvalue::Ref( [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BorrowKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1045:21 [INFO] [stdout] | [INFO] [stdout] 1045 | BorrowKind::Mut { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BorrowKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutBorrowKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1046:31 [INFO] [stdout] | [INFO] [stdout] 1046 | kind: MutBorrowKind::Default, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MutBorrowKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1052:23 [INFO] [stdout] | [INFO] [stdout] 1052 | kind: TerminatorKind::Call { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1053:27 [INFO] [stdout] | [INFO] [stdout] 1053 | func: Operand::function_handle( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1060:31 [INFO] [stdout] | [INFO] [stdout] 1060 | node: Operand::Move(Place::from(ref_place)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1060:45 [INFO] [stdout] | [INFO] [stdout] 1060 | node: Operand::Move(Place::from(ref_place)), [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallSource` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1067:34 [INFO] [stdout] | [INFO] [stdout] 1067 | call_source: CallSource::Misc, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CallSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1116:41 [INFO] [stdout] | [INFO] [stdout] 1116 | let copy = |place: Place<'tcx>| Operand::Copy(place); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1117:42 [INFO] [stdout] | [INFO] [stdout] 1117 | let move_ = |place: Place<'tcx>| Operand::Move(place); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1121:19 [INFO] [stdout] | [INFO] [stdout] 1121 | let ptr = Place::from(self.new_temp(ptr_ty)); [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1122:22 [INFO] [stdout] | [INFO] [stdout] 1122 | let can_go = Place::from(self.new_temp(tcx.types.bool)); [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1125:26 [INFO] [stdout] | [INFO] [stdout] 1125 | let drop_block = BasicBlockData::new_stmts( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1129:21 [INFO] [stdout] | [INFO] [stdout] 1129 | Rvalue::RawPtr(RawPtrKind::Mut, tcx.mk_place_index(self.place, cur)), [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawPtrKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1129:36 [INFO] [stdout] | [INFO] [stdout] 1129 | Rvalue::RawPtr(RawPtrKind::Mut, tcx.mk_place_index(self.place, cur)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RawPtrKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1133:21 [INFO] [stdout] | [INFO] [stdout] 1133 | Rvalue::BinaryOp(BinOp::Add, Box::new((move_(cur.into()), one))), [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1133:38 [INFO] [stdout] | [INFO] [stdout] 1133 | Rvalue::BinaryOp(BinOp::Add, Box::new((move_(cur.into()), one))), [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1139:23 [INFO] [stdout] | [INFO] [stdout] 1139 | kind: TerminatorKind::Unreachable, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1145:26 [INFO] [stdout] | [INFO] [stdout] 1145 | let loop_block = BasicBlockData::new_stmts( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1148:17 [INFO] [stdout] | [INFO] [stdout] 1148 | Rvalue::BinaryOp( [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1149:21 [INFO] [stdout] | [INFO] [stdout] 1149 | BinOp::Eq, [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1150:36 [INFO] [stdout] | [INFO] [stdout] 1150 | Box::new((copy(Place::from(cur)), copy(len.into()))), [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1155:23 [INFO] [stdout] | [INFO] [stdout] 1155 | kind: TerminatorKind::if_(move_(can_go), succ, drop_block), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1180:17 [INFO] [stdout] | [INFO] [stdout] 1180 | TerminatorKind::Drop { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProjectionElem` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1240:33 [INFO] [stdout] | [INFO] [stdout] 1240 | ... ProjectionElem::Subslice { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ProjectionElem` [INFO] [stdout] | help: an enum with a similar name exists: `ProjectionKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProjectionElem` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1248:33 [INFO] [stdout] | [INFO] [stdout] 1248 | ... ProjectionElem::ConstantIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ProjectionElem` [INFO] [stdout] | help: an enum with a similar name exists: `ProjectionKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1271:34 [INFO] [stdout] | [INFO] [stdout] 1271 | let mut delegate_block = BasicBlockData::new_stmts( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1274:21 [INFO] [stdout] | [INFO] [stdout] 1274 | Place::from(array_ptr), [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1275:21 [INFO] [stdout] | [INFO] [stdout] 1275 | Rvalue::RawPtr(RawPtrKind::Mut, self.place), [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawPtrKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1275:36 [INFO] [stdout] | [INFO] [stdout] 1275 | Rvalue::RawPtr(RawPtrKind::Mut, self.place), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RawPtrKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1278:21 [INFO] [stdout] | [INFO] [stdout] 1278 | Place::from(slice_ptr), [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1279:21 [INFO] [stdout] | [INFO] [stdout] 1279 | Rvalue::Cast( [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CastKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1280:25 [INFO] [stdout] | [INFO] [stdout] 1280 | CastKind::PointerCoercion( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CastKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CoercionSource` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1282:29 [INFO] [stdout] | [INFO] [stdout] 1282 | ... CoercionSource::Implicit, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CoercionSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1284:25 [INFO] [stdout] | [INFO] [stdout] 1284 | Operand::Move(Place::from(array_ptr)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1284:39 [INFO] [stdout] | [INFO] [stdout] 1284 | Operand::Move(Place::from(array_ptr)), [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1295:13 [INFO] [stdout] | [INFO] [stdout] 1295 | Place::from(slice_ptr).project_deeper(&[PlaceElem::Deref], tcx), [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlaceElem` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1295:53 [INFO] [stdout] | [INFO] [stdout] 1295 | Place::from(slice_ptr).project_deeper(&[PlaceElem::Deref], tcx), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PlaceElem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1302:19 [INFO] [stdout] | [INFO] [stdout] 1302 | kind: TerminatorKind::Goto { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlaceElem` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1327:14 [INFO] [stdout] | [INFO] [stdout] 1327 | let [PlaceElem::Deref] = self.place.projection.as_slice() else { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PlaceElem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1336:21 [INFO] [stdout] | [INFO] [stdout] 1336 | let block = BasicBlockData::new_stmts( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1340:21 [INFO] [stdout] | [INFO] [stdout] 1340 | Rvalue::UnaryOp( [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnOp` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1341:25 [INFO] [stdout] | [INFO] [stdout] 1341 | UnOp::PtrMetadata, [INFO] [stdout] | ^^^^ use of undeclared type `UnOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1342:25 [INFO] [stdout] | [INFO] [stdout] 1342 | Operand::Copy(Place::from(self.place.local)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Place` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1342:39 [INFO] [stdout] | [INFO] [stdout] 1342 | Operand::Copy(Place::from(self.place.local)), [INFO] [stdout] | ^^^^^ use of undeclared type `Place` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rvalue` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1345:41 [INFO] [stdout] | [INFO] [stdout] 1345 | self.assign(cur.into(), Rvalue::Use(zero)), [INFO] [stdout] | ^^^^^^ use of undeclared type `Rvalue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1349:23 [INFO] [stdout] | [INFO] [stdout] 1349 | kind: TerminatorKind::Goto { target: loop_block }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1398:51 [INFO] [stdout] | [INFO] [stdout] 1398 | self.elaborator.patch().new_block(BasicBlockData::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1401:31 [INFO] [stdout] | [INFO] [stdout] 1401 | kind: TerminatorKind::Unreachable, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1434:44 [INFO] [stdout] | [INFO] [stdout] 1434 | let block = self.new_block(unwind, TerminatorKind::Goto { target: succ }); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1452:21 [INFO] [stdout] | [INFO] [stdout] 1452 | let block = TerminatorKind::Drop { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1481:25 [INFO] [stdout] | [INFO] [stdout] 1481 | let block = TerminatorKind::Drop { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1494:21 [INFO] [stdout] | [INFO] [stdout] 1494 | let block = TerminatorKind::Goto { target }; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1520:28 [INFO] [stdout] | [INFO] [stdout] 1520 | let term = TerminatorKind::if_(flag, on_set, on_unset); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1527:43 [INFO] [stdout] | [INFO] [stdout] 1527 | self.elaborator.patch().new_block(BasicBlockData::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1542:43 [INFO] [stdout] | [INFO] [stdout] 1542 | self.elaborator.patch().new_block(BasicBlockData::new_stmts( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operand` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1557:9 [INFO] [stdout] | [INFO] [stdout] 1557 | Operand::Constant(Box::new(ConstOperand { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Const` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1560:21 [INFO] [stdout] | [INFO] [stdout] 1560 | const_: Const::from_usize(self.tcx(), val.into()), [INFO] [stdout] | ^^^^^ use of undeclared type `Const` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `object::coff::ImportType::Const`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 1560 - const_: Const::from_usize(self.tcx(), val.into()), [INFO] [stdout] 1560 + const_: object::coff::ImportType::from_usize(self.tcx(), val.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatementKind` [INFO] [stdout] --> src/mir/elaborate_drop.rs:1567:13 [INFO] [stdout] | [INFO] [stdout] 1567 | StatementKind::Assign(Box::new((lhs, rhs))), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `StatementKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/patch.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | if matches!(block.terminator().kind, TerminatorKind::UnwindResume) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/patch.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | if matches!(block.terminator().kind, TerminatorKind::Unreachable) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/patch.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | if let TerminatorKind::UnwindTerminate(reason) = block.terminator().kind [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/patch.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | let bb = self.new_block(BasicBlockData::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SourceInfo` [INFO] [stdout] --> src/mir/patch.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | source_info: SourceInfo::outermost(self.body_span), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SourceInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/patch.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | kind: TerminatorKind::UnwindResume, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/patch.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | let bb = self.new_block(BasicBlockData::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SourceInfo` [INFO] [stdout] --> src/mir/patch.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | source_info: SourceInfo::outermost(self.body_span), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SourceInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/patch.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | kind: TerminatorKind::Unreachable, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/patch.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | let bb = self.new_block(BasicBlockData::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SourceInfo` [INFO] [stdout] --> src/mir/patch.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | source_info: SourceInfo::outermost(self.body_span), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SourceInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/patch.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | kind: TerminatorKind::Unreachable, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicBlockData` [INFO] [stdout] --> src/mir/patch.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | let bb = self.new_block(BasicBlockData::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BasicBlockData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SourceInfo` [INFO] [stdout] --> src/mir/patch.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | source_info: SourceInfo::outermost(self.body_span), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SourceInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TerminatorKind` [INFO] [stdout] --> src/mir/patch.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | kind: TerminatorKind::UnwindTerminate(reason), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TerminatorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalDecl` [INFO] [stdout] --> src/mir/patch.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | let mut new_decl = LocalDecl::new(ty, span); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalDecl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Local` [INFO] [stdout] --> src/mir/patch.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | Local::new(index) [INFO] [stdout] | ^^^^^ use of undeclared type `Local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalDecl` [INFO] [stdout] --> src/mir/patch.rs:190:30 [INFO] [stdout] | [INFO] [stdout] 190 | self.new_locals.push(LocalDecl::new(ty, span)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalDecl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Local` [INFO] [stdout] --> src/mir/patch.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | Local::new(index) [INFO] [stdout] | ^^^^^ use of undeclared type `Local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatementKind` [INFO] [stdout] --> src/mir/patch.rs:238:33 [INFO] [stdout] | [INFO] [stdout] 238 | self.add_statement(loc, StatementKind::Assign(Box::new((place, rv)))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `StatementKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `klint` (bin "klint") due to 504 previous errors [INFO] running `Command { std: "docker" "inspect" "e48c9214e978c75b0453d5da4525df09b2aecfb2897a8effe5b54f4383b959fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e48c9214e978c75b0453d5da4525df09b2aecfb2897a8effe5b54f4383b959fa", kill_on_drop: false }` [INFO] [stdout] e48c9214e978c75b0453d5da4525df09b2aecfb2897a8effe5b54f4383b959fa