[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] 207d507e56960e169977170dd930b50674213424 [INFO] testing nbdd0121/klint against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbdd0121%2Fklint" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nbdd0121/klint on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/.cargo/config [INFO] removed /workspace/builds/worker-6/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-6/source/Cargo.toml [INFO] crate git repo https://github.com/nbdd0121/klint already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8182212406a7d813920accd7cd790d1c1c10584eb1e55c53bfb116e078e23fcd [INFO] running `Command { std: "docker" "start" "-a" "8182212406a7d813920accd7cd790d1c1c10584eb1e55c53bfb116e078e23fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8182212406a7d813920accd7cd790d1c1c10584eb1e55c53bfb116e078e23fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8182212406a7d813920accd7cd790d1c1c10584eb1e55c53bfb116e078e23fcd", kill_on_drop: false }` [INFO] [stdout] 8182212406a7d813920accd7cd790d1c1c10584eb1e55c53bfb116e078e23fcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d45f6df1c57e7969251ccad134f677568ff871321e7cfbb956d9355216e63693 [INFO] running `Command { std: "docker" "start" "-a" "d45f6df1c57e7969251ccad134f677568ff871321e7cfbb956d9355216e63693", kill_on_drop: false }` [INFO] [stderr] Compiling klint v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | 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_hir` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | 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_interface` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate rustc_lint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_middle` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate rustc_middle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_mir` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate rustc_mir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_session` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | 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:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | 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:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | 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 `log` [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_tool_lint` in this scope [INFO] [stdout] --> src/infallible_allocation.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | declare_tool_lint! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint_pass` in this scope [INFO] [stdout] --> src/infallible_allocation.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | declare_lint_pass!(InfallibleAllocation => [INFALLIBLE_ALLOCATION]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | bug!("invalid `CoerceUnsized` impl_source: {:?}", impl_source); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | 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:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | debug!("collecting roots"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | 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:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | debug!("BEGIN collect_items_rec({})", starting_point.node); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `span_bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | _ => span_bug!(*op_sp, "invalid operand type for global_asm!"), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `span_bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | span_bug!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | debug!("END collect_items_rec({})", starting_point.node); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | debug!(" => recursion depth={}", recursion_depth); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | debug!(" => type length={}", type_length); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | 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:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | debug!("visiting rvalue {:?}", *rvalue); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:531:26 [INFO] [stdout] | [INFO] [stdout] 531 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | trace!("collecting thread-local static {:?}", def_id); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `span_bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:568:58 [INFO] [stdout] | [INFO] [stdout] 568 | 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:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | debug!("visiting const {:?} @ {:?}", *constant, location); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `span_bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:593:32 [INFO] [stdout] | [INFO] [stdout] 593 | Ok(val) => 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:600:54 [INFO] [stdout] | [INFO] [stdout] 600 | 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:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | 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:638:29 [INFO] [stdout] | [INFO] [stdout] 638 | ... trace!("collecting asm sym 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:655:58 [INFO] [stdout] | [INFO] [stdout] 655 | | mir::TerminatorKind::FalseUnwind { .. } => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:673:17 [INFO] [stdout] | [INFO] [stdout] 673 | debug!("{:?}", layout); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:675:17 [INFO] [stdout] | [INFO] [stdout] 675 | debug!("{:?}", source_info); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:677:17 [INFO] [stdout] | [INFO] [stdout] 677 | debug!("{:?}", lint_root); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:748:5 [INFO] [stdout] | [INFO] [stdout] 748 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:756:17 [INFO] [stdout] | [INFO] [stdout] 756 | 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:815:9 [INFO] [stdout] | [INFO] [stdout] 815 | bug!("no MIR available for {:?}", def_id); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:873:22 [INFO] [stdout] | [INFO] [stdout] 873 | _ => bug!("unexpected unsized tail: {:?}", tail), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:911:14 [INFO] [stdout] | [INFO] [stdout] 911 | _ => bug!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:924:5 [INFO] [stdout] | [INFO] [stdout] 924 | debug!("create_fn_mono_item(instance={})", instance); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1006:25 [INFO] [stdout] | [INFO] [stdout] 1006 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1018:17 [INFO] [stdout] | [INFO] [stdout] 1018 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1026:17 [INFO] [stdout] | [INFO] [stdout] 1026 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1083:13 [INFO] [stdout] | [INFO] [stdout] 1083 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1153:13 [INFO] [stdout] | [INFO] [stdout] 1153 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1197:14 [INFO] [stdout] | [INFO] [stdout] 1197 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1210:13 [INFO] [stdout] | [INFO] [stdout] 1210 | trace!("collecting static {:?}", def_id); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1214:13 [INFO] [stdout] | [INFO] [stdout] 1214 | 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:1222:13 [INFO] [stdout] | [INFO] [stdout] 1222 | trace!("collecting {:?} with {:#?}", alloc_id, fn_instance); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1234:5 [INFO] [stdout] | [INFO] [stdout] 1234 | debug!("collect_neighbours: {:?}", instance.def_id()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItemCollectionMode` [INFO] [stdout] --> src/infallible_allocation.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | MonoItemCollectionMode::Eager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MonoItemCollectionMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FxHashMap` [INFO] [stdout] --> src/infallible_allocation.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let mut forward = FxHashMap::default(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FxHashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FxHashMap` [INFO] [stdout] --> src/infallible_allocation.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | let mut backward = FxHashMap::<_, Vec<_>>::default(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FxHashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/infallible_allocation.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | MonoItem::Static(s) => Instance::mono(cx.tcx, s), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> src/infallible_allocation.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | MonoItem::Static(s) => Instance::mono(cx.tcx, s), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/infallible_allocation.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | MonoItem::Fn(v) => v, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/infallible_allocation.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | MonoItem::Static(s) => Instance::mono(cx.tcx, s), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> src/infallible_allocation.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | MonoItem::Static(s) => Instance::mono(cx.tcx, s), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/infallible_allocation.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | MonoItem::Fn(v) => v, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FxHashSet` [INFO] [stdout] --> src/infallible_allocation.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | let mut visited = FxHashSet::default(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FxHashSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FxHashSet` [INFO] [stdout] --> src/infallible_allocation.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | let mut infallible = FxHashSet::default(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FxHashSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sym` [INFO] [stdout] --> src/infallible_allocation.rs:113:62 [INFO] [stdout] | [INFO] [stdout] 113 | if cx.tcx.crate_name(accessee.def_id().krate) == sym::alloc { [INFO] [stdout] | ^^^ use of undeclared crate or module `sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FxHashSet` [INFO] [stdout] --> src/infallible_allocation.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | let mut visited = FxHashSet::default(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FxHashSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LangItem` [INFO] [stdout] --> src/monomorphize_collector.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | let def_id = tcx.require_lang_item(LangItem::CoerceUnsized, None); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LangItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let trait_ref = ty::Binder::dummy(ty::TraitRef { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | let trait_ref = ty::Binder::dummy(ty::TraitRef { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | match tcx.codegen_fulfill_obligation((ty::ParamEnv::reveal_all(), trait_ref)) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `traits` [INFO] [stdout] --> src/monomorphize_collector.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(traits::ImplSource::UserDefined(traits::ImplSourceUserDefinedData { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `traits` [INFO] [stdout] --> src/monomorphize_collector.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(traits::ImplSource::UserDefined(traits::ImplSourceUserDefinedData { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FxHashMap` [INFO] [stdout] --> src/monomorphize_collector.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | index: FxHashMap::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FxHashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MTLock` [INFO] [stdout] --> src/monomorphize_collector.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | let mut visited = MTLock::new(FxHashSet::default()); [INFO] [stdout] | ^^^^^^ use of undeclared type `MTLock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FxHashSet` [INFO] [stdout] --> src/monomorphize_collector.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 113 | let mut visited = MTLock::new(FxHashSet::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FxHashSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MTLock` [INFO] [stdout] --> src/monomorphize_collector.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 114 | let mut access_map = MTLock::new(AccessMap::new()); [INFO] [stdout] | ^^^^^^ use of undeclared type `MTLock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefIdMap` [INFO] [stdout] --> src/monomorphize_collector.rs:123:44 [INFO] [stdout] | [INFO] [stdout] 123 | let mut recursion_depths = DefIdMap::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DefIdMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/monomorphize_collector.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | MonoItem::Static(def_id) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> src/monomorphize_collector.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | let instance = Instance::mono(tcx, def_id); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:222:39 [INFO] [stdout] | [INFO] [stdout] 222 | let ty = instance.ty(tcx, ty::ParamEnv::reveal_all()); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/monomorphize_collector.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | MonoItem::Fn(instance) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/monomorphize_collector.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | MonoItem::GlobalAsm(item_id) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/monomorphize_collector.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | MonoItem::Static(def_id) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> src/monomorphize_collector.rs:299:32 [INFO] [stdout] | [INFO] [stdout] 299 | let instance = Instance::mono(tcx, def_id); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/monomorphize_collector.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | MonoItem::Fn(instance) => should_codegen_locally(tcx, &instance), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/monomorphize_collector.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | MonoItem::GlobalAsm(_) => true, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericArgKind` [INFO] [stdout] --> src/monomorphize_collector.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | GenericArgKind::Type(_) | GenericArgKind::Const(_) => true, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `GenericArgKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericArgKind` [INFO] [stdout] --> src/monomorphize_collector.rs:414:39 [INFO] [stdout] | [INFO] [stdout] 414 | GenericArgKind::Type(_) | GenericArgKind::Const(_) => true, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `GenericArgKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericArgKind` [INFO] [stdout] --> src/monomorphize_collector.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | GenericArgKind::Lifetime(_) => false, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `GenericArgKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:452:15 [INFO] [stdout] | [INFO] [stdout] 452 | body: &'a mir::Body<'tcx>, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | ty::ParamEnv::reveal_all(), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:472:41 [INFO] [stdout] | [INFO] [stdout] 472 | fn visit_rvalue(&mut self, rvalue: &mir::Rvalue<'tcx>, location: Location) { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:481:13 [INFO] [stdout] | [INFO] [stdout] 481 | mir::Rvalue::Cast( [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 482 | mir::CastKind::Pointer(PointerCast::Unsize), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointerCast` [INFO] [stdout] --> src/monomorphize_collector.rs:482:40 [INFO] [stdout] | [INFO] [stdout] 482 | mir::CastKind::Pointer(PointerCast::Unsize), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PointerCast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:504:13 [INFO] [stdout] | [INFO] [stdout] 504 | mir::Rvalue::Cast( [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | mir::CastKind::Pointer(PointerCast::ReifyFnPointer), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointerCast` [INFO] [stdout] --> src/monomorphize_collector.rs:505:40 [INFO] [stdout] | [INFO] [stdout] 505 | mir::CastKind::Pointer(PointerCast::ReifyFnPointer), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PointerCast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | mir::Rvalue::Cast( [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | mir::CastKind::Pointer(PointerCast::ClosureFnPointer(_)), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointerCast` [INFO] [stdout] --> src/monomorphize_collector.rs:514:40 [INFO] [stdout] | [INFO] [stdout] 514 | mir::CastKind::Pointer(PointerCast::ClosureFnPointer(_)), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PointerCast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:521:21 [INFO] [stdout] | [INFO] [stdout] 521 | ty::Closure(def_id, substs) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> src/monomorphize_collector.rs:522:40 [INFO] [stdout] | [INFO] [stdout] 522 | let instance = Instance::resolve_closure( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:526:29 [INFO] [stdout] | [INFO] [stdout] 526 | ... ty::ClosureKind::FnOnce, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | mir::Rvalue::NullaryOp(mir::NullOp::Box, _) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:534:36 [INFO] [stdout] | [INFO] [stdout] 534 | mir::Rvalue::NullaryOp(mir::NullOp::Box, _) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LangItem` [INFO] [stdout] --> src/monomorphize_collector.rs:537:43 [INFO] [stdout] | [INFO] [stdout] 537 | tcx.require_lang_item(LangItem::ExchangeMalloc, None); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LangItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> src/monomorphize_collector.rs:538:32 [INFO] [stdout] | [INFO] [stdout] 538 | let instance = Instance::mono(tcx, exchange_malloc_fn_def_id); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | mir::Rvalue::ThreadLocalRef(def_id) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/monomorphize_collector.rs:545:47 [INFO] [stdout] | [INFO] [stdout] 545 | self.output.push(respan(span, MonoItem::Static(def_id))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:556:45 [INFO] [stdout] | [INFO] [stdout] 556 | fn visit_constant(&mut self, constant: &mir::Constant<'tcx>, location: Location) { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | mir::ConstantKind::Val(val, _) => val, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:560:13 [INFO] [stdout] | [INFO] [stdout] 560 | mir::ConstantKind::Ty(ct) => match ct.val { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:561:17 [INFO] [stdout] | [INFO] [stdout] 561 | ty::ConstKind::Value(val) => val, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:562:17 [INFO] [stdout] | [INFO] [stdout] 562 | ty::ConstKind::Unevaluated(ct) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:563:37 [INFO] [stdout] | [INFO] [stdout] 563 | let param_env = ty::ParamEnv::reveal_all(); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorHandled` [INFO] [stdout] --> src/monomorphize_collector.rs:567:29 [INFO] [stdout] | [INFO] [stdout] 567 | Err(ErrorHandled::Reported(ErrorReported) | ErrorHandled::Linted) => return, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ErrorHandled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorHandled` [INFO] [stdout] --> src/monomorphize_collector.rs:567:69 [INFO] [stdout] | [INFO] [stdout] 567 | Err(ErrorHandled::Reported(ErrorReported) | ErrorHandled::Linted) => return, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ErrorHandled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `ErrorReported` is not bound in all patterns [INFO] [stdout] --> src/monomorphize_collector.rs:567:69 [INFO] [stdout] | [INFO] [stdout] 567 | Err(ErrorHandled::Reported(ErrorReported) | ErrorHandled::Linted) => return, [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^ pattern doesn't bind `ErrorReported` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::ErrorReported` [INFO] [stdout] --> src/monomorphize_collector.rs:567:52 [INFO] [stdout] | [INFO] [stdout] 567 | Err(ErrorHandled::Reported(ErrorReported) | ErrorHandled::Linted) => return, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorHandled` [INFO] [stdout] --> src/monomorphize_collector.rs:568:29 [INFO] [stdout] | [INFO] [stdout] 568 | Err(ErrorHandled::TooGeneric) => span_bug!( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ErrorHandled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyContext` [INFO] [stdout] --> src/monomorphize_collector.rs:579:37 [INFO] [stdout] | [INFO] [stdout] 579 | self.visit_ty(literal.ty(), TyContext::Location(location)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TyContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:582:48 [INFO] [stdout] | [INFO] [stdout] 582 | fn visit_const(&mut self, constant: &&'tcx ty::Const<'tcx>, location: Location) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:586:25 [INFO] [stdout] | [INFO] [stdout] 586 | let param_env = ty::ParamEnv::reveal_all(); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:589:13 [INFO] [stdout] | [INFO] [stdout] 589 | ty::ConstKind::Value(val) => collect_const_value(self.tcx, val, self.output), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | ty::ConstKind::Unevaluated(unevaluated) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorHandled` [INFO] [stdout] --> src/monomorphize_collector.rs:599:25 [INFO] [stdout] | [INFO] [stdout] 599 | Err(ErrorHandled::Reported(ErrorReported) | ErrorHandled::Linted) => {} [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ErrorHandled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorHandled` [INFO] [stdout] --> src/monomorphize_collector.rs:599:65 [INFO] [stdout] | [INFO] [stdout] 599 | Err(ErrorHandled::Reported(ErrorReported) | ErrorHandled::Linted) => {} [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ErrorHandled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `ErrorReported` is not bound in all patterns [INFO] [stdout] --> src/monomorphize_collector.rs:599:65 [INFO] [stdout] | [INFO] [stdout] 599 | Err(ErrorHandled::Reported(ErrorReported) | ErrorHandled::Linted) => {} [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^ pattern doesn't bind `ErrorReported` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::ErrorReported` [INFO] [stdout] --> src/monomorphize_collector.rs:599:48 [INFO] [stdout] | [INFO] [stdout] 599 | Err(ErrorHandled::Reported(ErrorReported) | ErrorHandled::Linted) => {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorHandled` [INFO] [stdout] --> src/monomorphize_collector.rs:600:25 [INFO] [stdout] | [INFO] [stdout] 600 | Err(ErrorHandled::TooGeneric) => span_bug!( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ErrorHandled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:613:49 [INFO] [stdout] | [INFO] [stdout] 613 | fn visit_terminator(&mut self, terminator: &mir::Terminator<'tcx>, location: Location) { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:619:13 [INFO] [stdout] | [INFO] [stdout] 619 | mir::TerminatorKind::Call { ref func, .. } => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:624:13 [INFO] [stdout] | [INFO] [stdout] 624 | mir::TerminatorKind::Drop { ref place, .. } [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:625:15 [INFO] [stdout] | [INFO] [stdout] 625 | | mir::TerminatorKind::DropAndReplace { ref place, .. } => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | mir::TerminatorKind::InlineAsm { ref operands, .. } => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | mir::InlineAsmOperand::SymFn { ref value } => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:637:25 [INFO] [stdout] | [INFO] [stdout] 637 | mir::InlineAsmOperand::SymStatic { def_id } => { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/monomorphize_collector.rs:639:61 [INFO] [stdout] | [INFO] [stdout] 639 | ... self.output.push(respan(source, MonoItem::Static(def_id))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | mir::TerminatorKind::Goto { .. } [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:646:15 [INFO] [stdout] | [INFO] [stdout] 646 | | mir::TerminatorKind::SwitchInt { .. } [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:647:15 [INFO] [stdout] | [INFO] [stdout] 647 | | mir::TerminatorKind::Resume [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:648:15 [INFO] [stdout] | [INFO] [stdout] 648 | | mir::TerminatorKind::Abort [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:649:15 [INFO] [stdout] | [INFO] [stdout] 649 | | mir::TerminatorKind::Return [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:650:15 [INFO] [stdout] | [INFO] [stdout] 650 | | mir::TerminatorKind::Unreachable [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:651:15 [INFO] [stdout] | [INFO] [stdout] 651 | | mir::TerminatorKind::Assert { .. } => {} [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:652:13 [INFO] [stdout] | [INFO] [stdout] 652 | mir::TerminatorKind::GeneratorDrop [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:653:15 [INFO] [stdout] | [INFO] [stdout] 653 | | mir::TerminatorKind::Yield { .. } [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:654:15 [INFO] [stdout] | [INFO] [stdout] 654 | | mir::TerminatorKind::FalseEdge { .. } [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:655:15 [INFO] [stdout] | [INFO] [stdout] 655 | | mir::TerminatorKind::FalseUnwind { .. } => bug!(), [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:661:43 [INFO] [stdout] | [INFO] [stdout] 661 | fn visit_operand(&mut self, operand: &mir::Operand<'tcx>, location: Location) { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/monomorphize_collector.rs:667:21 [INFO] [stdout] | [INFO] [stdout] 667 | let limit = Size::from_bytes(limit); [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:670:41 [INFO] [stdout] | [INFO] [stdout] 670 | let layout = self.tcx.layout_of(ty::ParamEnv::reveal_all().and(ty)); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/monomorphize_collector.rs:704:19 [INFO] [stdout] | [INFO] [stdout] 704 | _context: mir::visit::PlaceContext, [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> src/monomorphize_collector.rs:717:20 [INFO] [stdout] | [INFO] [stdout] 717 | let instance = Instance::resolve_drop_in_place(tcx, ty); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:728:12 [INFO] [stdout] | [INFO] [stdout] 728 | if let ty::FnDef(def_id, substs) = *ty.kind() { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:730:13 [INFO] [stdout] | [INFO] [stdout] 730 | ty::Instance::resolve(tcx, ty::ParamEnv::reveal_all(), def_id, substs) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:730:40 [INFO] [stdout] | [INFO] [stdout] 730 | ty::Instance::resolve(tcx, ty::ParamEnv::reveal_all(), def_id, substs) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:734:13 [INFO] [stdout] | [INFO] [stdout] 734 | ty::Instance::resolve_for_fn_ptr(tcx, ty::ParamEnv::reveal_all(), def_id, substs) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:734:51 [INFO] [stdout] | [INFO] [stdout] 734 | ty::Instance::resolve_for_fn_ptr(tcx, ty::ParamEnv::reveal_all(), def_id, substs) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:743:15 [INFO] [stdout] | [INFO] [stdout] 743 | instance: ty::Instance<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | ty::InstanceDef::Virtual(..) | ty::InstanceDef::Intrinsic(_) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:754:40 [INFO] [stdout] | [INFO] [stdout] 754 | ty::InstanceDef::Virtual(..) | ty::InstanceDef::Intrinsic(_) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:759:9 [INFO] [stdout] | [INFO] [stdout] 759 | ty::InstanceDef::DropGlue(_, None) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 765 | ty::InstanceDef::DropGlue(_, Some(_)) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:766:11 [INFO] [stdout] | [INFO] [stdout] 766 | | ty::InstanceDef::VtableShim(..) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:767:11 [INFO] [stdout] | [INFO] [stdout] 767 | | ty::InstanceDef::ReifyShim(..) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:768:11 [INFO] [stdout] | [INFO] [stdout] 768 | | ty::InstanceDef::ClosureOnceShim { .. } [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:769:11 [INFO] [stdout] | [INFO] [stdout] 769 | | ty::InstanceDef::Item(..) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:770:11 [INFO] [stdout] | [INFO] [stdout] 770 | | ty::InstanceDef::FnPtrShim(..) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:771:11 [INFO] [stdout] | [INFO] [stdout] 771 | | ty::InstanceDef::CloneShim(..) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | ty::InstanceDef::Item(def) => def.did, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:783:9 [INFO] [stdout] | [INFO] [stdout] 783 | ty::InstanceDef::DropGlue(def_id, Some(_)) => def_id, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:784:9 [INFO] [stdout] | [INFO] [stdout] 784 | ty::InstanceDef::VtableShim(..) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:785:11 [INFO] [stdout] | [INFO] [stdout] 785 | | ty::InstanceDef::ReifyShim(..) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:786:11 [INFO] [stdout] | [INFO] [stdout] 786 | | ty::InstanceDef::ClosureOnceShim { .. } [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:787:11 [INFO] [stdout] | [INFO] [stdout] 787 | | ty::InstanceDef::Virtual(..) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:788:11 [INFO] [stdout] | [INFO] [stdout] 788 | | ty::InstanceDef::FnPtrShim(..) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:789:11 [INFO] [stdout] | [INFO] [stdout] 789 | | ty::InstanceDef::DropGlue(..) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:790:11 [INFO] [stdout] | [INFO] [stdout] 790 | | ty::InstanceDef::Intrinsic(_) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:791:11 [INFO] [stdout] | [INFO] [stdout] 791 | | ty::InstanceDef::CloneShim(..) => return true, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:864:25 [INFO] [stdout] | [INFO] [stdout] 864 | let param_env = ty::ParamEnv::reveal_all(); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:871:17 [INFO] [stdout] | [INFO] [stdout] 871 | ty::Foreign(..) => false, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:872:17 [INFO] [stdout] | [INFO] [stdout] 872 | ty::Str | ty::Slice(..) | ty::Dynamic(..) => true, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:872:27 [INFO] [stdout] | [INFO] [stdout] 872 | ty::Str | ty::Slice(..) | ty::Dynamic(..) => true, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:872:43 [INFO] [stdout] | [INFO] [stdout] 872 | ty::Str | ty::Slice(..) | ty::Dynamic(..) => true, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:884:11 [INFO] [stdout] | [INFO] [stdout] 884 | (&ty::Ref(_, a, _), &ty::Ref(_, b, _) | &ty::RawPtr(ty::TypeAndMut { ty: b, .. })) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:884:30 [INFO] [stdout] | [INFO] [stdout] 884 | (&ty::Ref(_, a, _), &ty::Ref(_, b, _) | &ty::RawPtr(ty::TypeAndMut { ty: b, .. })) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:884:50 [INFO] [stdout] | [INFO] [stdout] 884 | (&ty::Ref(_, a, _), &ty::Ref(_, b, _) | &ty::RawPtr(ty::TypeAndMut { ty: b, .. })) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:884:61 [INFO] [stdout] | [INFO] [stdout] 884 | (&ty::Ref(_, a, _), &ty::Ref(_, b, _) | &ty::RawPtr(ty::TypeAndMut { ty: b, .. })) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:885:13 [INFO] [stdout] | [INFO] [stdout] 885 | | (&ty::RawPtr(ty::TypeAndMut { ty: a, .. }), &ty::RawPtr(ty::TypeAndMut { ty: b, .. })) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:885:24 [INFO] [stdout] | [INFO] [stdout] 885 | | (&ty::RawPtr(ty::TypeAndMut { ty: a, .. }), &ty::RawPtr(ty::TypeAndMut { ty: b, .. })) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:885:56 [INFO] [stdout] | [INFO] [stdout] 885 | | (&ty::RawPtr(ty::TypeAndMut { ty: a, .. }), &ty::RawPtr(ty::TypeAndMut { ty: b, .. })) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:885:67 [INFO] [stdout] | [INFO] [stdout] 885 | | (&ty::RawPtr(ty::TypeAndMut { ty: a, .. }), &ty::RawPtr(ty::TypeAndMut { ty: b, .. })) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:888:11 [INFO] [stdout] | [INFO] [stdout] 888 | (&ty::Adt(def_a, _), &ty::Adt(def_b, _)) if def_a.is_box() && def_b.is_box() => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:888:31 [INFO] [stdout] | [INFO] [stdout] 888 | (&ty::Adt(def_a, _), &ty::Adt(def_b, _)) if def_a.is_box() && def_b.is_box() => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:892:11 [INFO] [stdout] | [INFO] [stdout] 892 | (&ty::Adt(source_adt_def, source_substs), &ty::Adt(target_adt_def, target_substs)) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:892:52 [INFO] [stdout] | [INFO] [stdout] 892 | (&ty::Adt(source_adt_def, source_substs), &ty::Adt(target_adt_def, target_substs)) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CustomCoerceUnsized` [INFO] [stdout] --> src/monomorphize_collector.rs:895:17 [INFO] [stdout] | [INFO] [stdout] 895 | let CustomCoerceUnsized::Struct(coerce_index) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CustomCoerceUnsized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/monomorphize_collector.rs:925:20 [INFO] [stdout] | [INFO] [stdout] 925 | respan(source, MonoItem::Fn(instance.polymorphize(tcx))) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:939:12 [INFO] [stdout] | [INFO] [stdout] 939 | if let ty::Dynamic(ref trait_ty, ..) = trait_ty.kind() { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VtblEntry` [INFO] [stdout] --> src/monomorphize_collector.rs:949:21 [INFO] [stdout] | [INFO] [stdout] 949 | VtblEntry::MetadataDropInPlace [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VtblEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VtblEntry` [INFO] [stdout] --> src/monomorphize_collector.rs:950:23 [INFO] [stdout] | [INFO] [stdout] 950 | | VtblEntry::MetadataSize [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VtblEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VtblEntry` [INFO] [stdout] --> src/monomorphize_collector.rs:951:23 [INFO] [stdout] | [INFO] [stdout] 951 | | VtblEntry::MetadataAlign [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VtblEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VtblEntry` [INFO] [stdout] --> src/monomorphize_collector.rs:952:23 [INFO] [stdout] | [INFO] [stdout] 952 | | VtblEntry::Vacant => None, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VtblEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VtblEntry` [INFO] [stdout] --> src/monomorphize_collector.rs:953:21 [INFO] [stdout] | [INFO] [stdout] 953 | VtblEntry::TraitVPtr(_) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VtblEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VtblEntry` [INFO] [stdout] --> src/monomorphize_collector.rs:957:21 [INFO] [stdout] | [INFO] [stdout] 957 | VtblEntry::Method(instance) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VtblEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItemCollectionMode` [INFO] [stdout] --> src/monomorphize_collector.rs:996:33 [INFO] [stdout] | [INFO] [stdout] 996 | if self.mode == MonoItemCollectionMode::Eager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MonoItemCollectionMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItemCollectionMode` [INFO] [stdout] --> src/monomorphize_collector.rs:1005:37 [INFO] [stdout] | [INFO] [stdout] 1005 | if self.mode == MonoItemCollectionMode::Eager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MonoItemCollectionMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> src/monomorphize_collector.rs:1011:34 [INFO] [stdout] | [INFO] [stdout] 1011 | let ty = Instance::new(item.def_id.to_def_id(), InternalSubsts::empty()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InternalSubsts` [INFO] [stdout] --> src/monomorphize_collector.rs:1011:73 [INFO] [stdout] | [INFO] [stdout] 1011 | let ty = Instance::new(item.def_id.to_def_id(), InternalSubsts::empty()) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `InternalSubsts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:1012:43 [INFO] [stdout] | [INFO] [stdout] 1012 | ... .ty(self.tcx, ty::ParamEnv::reveal_all()); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/monomorphize_collector.rs:1023:41 [INFO] [stdout] | [INFO] [stdout] 1023 | .push(dummy_spanned(MonoItem::GlobalAsm(item.item_id()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/monomorphize_collector.rs:1031:41 [INFO] [stdout] | [INFO] [stdout] 1031 | .push(dummy_spanned(MonoItem::Static(item.def_id.to_def_id()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItemCollectionMode` [INFO] [stdout] --> src/monomorphize_collector.rs:1066:17 [INFO] [stdout] | [INFO] [stdout] 1066 | MonoItemCollectionMode::Eager => true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MonoItemCollectionMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItemCollectionMode` [INFO] [stdout] --> src/monomorphize_collector.rs:1067:17 [INFO] [stdout] | [INFO] [stdout] 1067 | MonoItemCollectionMode::Lazy => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MonoItemCollectionMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CodegenFnAttrFlags` [INFO] [stdout] --> src/monomorphize_collector.rs:1074:39 [INFO] [stdout] | [INFO] [stdout] 1074 | ... .contains(CodegenFnAttrFlags::RUSTC_STD_INTERNAL_SYMBOL) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `CodegenFnAttrFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> src/monomorphize_collector.rs:1088:28 [INFO] [stdout] | [INFO] [stdout] 1088 | let instance = Instance::mono(self.tcx, def_id.to_def_id()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntryFnType` [INFO] [stdout] --> src/monomorphize_collector.rs:1101:27 [INFO] [stdout] | [INFO] [stdout] 1101 | Some((def_id, EntryFnType::Main)) => def_id, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntryFnType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LangItem` [INFO] [stdout] --> src/monomorphize_collector.rs:1105:64 [INFO] [stdout] | [INFO] [stdout] 1105 | let start_def_id = match self.tcx.lang_items().require(LangItem::Start) { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LangItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> src/monomorphize_collector.rs:1118:30 [INFO] [stdout] | [INFO] [stdout] 1118 | let start_instance = Instance::resolve( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:1120:13 [INFO] [stdout] | [INFO] [stdout] 1120 | ty::ParamEnv::reveal_all(), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:1159:33 [INFO] [stdout] | [INFO] [stdout] 1159 | let param_env = ty::ParamEnv::reveal_all(); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InternalSubsts` [INFO] [stdout] --> src/monomorphize_collector.rs:1179:25 [INFO] [stdout] | [INFO] [stdout] 1179 | InternalSubsts::for_item(tcx, method.def_id, |param, _| match param.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `InternalSubsts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericParamDefKind` [INFO] [stdout] --> src/monomorphize_collector.rs:1180:29 [INFO] [stdout] | [INFO] [stdout] 1180 | ... GenericParamDefKind::Lifetime => tcx.lifetimes.re_erased.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GenericParamDefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericParamDefKind` [INFO] [stdout] --> src/monomorphize_collector.rs:1181:29 [INFO] [stdout] | [INFO] [stdout] 1181 | ... GenericParamDefKind::Type { .. } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GenericParamDefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericParamDefKind` [INFO] [stdout] --> src/monomorphize_collector.rs:1182:31 [INFO] [stdout] | [INFO] [stdout] 1182 | ... | GenericParamDefKind::Const { .. } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GenericParamDefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/monomorphize_collector.rs:1186:36 [INFO] [stdout] | [INFO] [stdout] 1186 | let instance = ty::Instance::resolve(tcx, param_env, method.def_id, substs) [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalAlloc` [INFO] [stdout] --> src/monomorphize_collector.rs:1208:9 [INFO] [stdout] | [INFO] [stdout] 1208 | GlobalAlloc::Static(def_id) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `GlobalAlloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonoItem` [INFO] [stdout] --> src/monomorphize_collector.rs:1211:39 [INFO] [stdout] | [INFO] [stdout] 1211 | output.push(dummy_spanned(MonoItem::Static(def_id))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MonoItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalAlloc` [INFO] [stdout] --> src/monomorphize_collector.rs:1213:9 [INFO] [stdout] | [INFO] [stdout] 1213 | GlobalAlloc::Memory(alloc) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `GlobalAlloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalAlloc` [INFO] [stdout] --> src/monomorphize_collector.rs:1221:9 [INFO] [stdout] | [INFO] [stdout] 1221 | GlobalAlloc::Function(fn_instance) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `GlobalAlloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstValue` [INFO] [stdout] --> src/monomorphize_collector.rs:1252:9 [INFO] [stdout] | [INFO] [stdout] 1252 | ConstValue::Scalar(Scalar::Ptr(ptr, _size)) => collect_miri(tcx, ptr.provenance, output), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ConstValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> src/monomorphize_collector.rs:1252:28 [INFO] [stdout] | [INFO] [stdout] 1252 | ConstValue::Scalar(Scalar::Ptr(ptr, _size)) => collect_miri(tcx, ptr.provenance, output), [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstValue` [INFO] [stdout] --> src/monomorphize_collector.rs:1253:9 [INFO] [stdout] | [INFO] [stdout] 1253 | ConstValue::Slice { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ConstValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstValue` [INFO] [stdout] --> src/monomorphize_collector.rs:1258:11 [INFO] [stdout] | [INFO] [stdout] 1258 | | ConstValue::ByRef { alloc, .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ConstValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LateLintPass` in this scope [INFO] [stdout] --> src/infallible_allocation.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'tcx> LateLintPass<'tcx> for InfallibleAllocation { [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:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'tcx> LateLintPass<'tcx> for InfallibleAllocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/infallible_allocation.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 20 | fn check_crate(&mut self, cx: &LateContext<'tcx>, _: &'tcx hir::Crate<'tcx>) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> src/infallible_allocation.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | fwd_list.push(Spanned { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> src/infallible_allocation.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | backward.entry(accessee_node).or_default().push(Spanned { [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:154:42 [INFO] [stdout] | [INFO] [stdout] 154 | cx.struct_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 `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | source_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | target_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CustomCoerceUnsized` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | ) -> CustomCoerceUnsized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FxHashMap` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | index: FxHashMap, Range>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | index: FxHashMap, Range>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | targets: Vec>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | targets: Vec>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | fn record_accesses(&mut self, source: MonoItem<'tcx>, new_targets: &[Spanned>]) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:79:74 [INFO] [stdout] | [INFO] [stdout] 79 | fn record_accesses(&mut self, source: MonoItem<'tcx>, new_targets: &[Spanned>]) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:79:82 [INFO] [stdout] | [INFO] [stdout] 79 | fn record_accesses(&mut self, source: MonoItem<'tcx>, new_targets: &[Spanned>]) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | F: FnMut(MonoItem<'tcx>, &[Spanned>]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | F: FnMut(MonoItem<'tcx>, &[Spanned>]), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:91:44 [INFO] [stdout] | [INFO] [stdout] 91 | F: FnMut(MonoItem<'tcx>, &[Spanned>]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | tcx: TyCtxt<'_>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItemCollectionMode` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | mode: MonoItemCollectionMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FxHashSet` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | ) -> (FxHashSet>, AccessMap<'_>) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | ) -> (FxHashSet>, AccessMap<'_>) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MTRef` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | let visited: MTRef<'_, _> = &mut visited; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MTRef` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let access_map: MTRef<'_, _> = &mut access_map; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `par_iter` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | par_iter(roots).for_each(|root| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dummy_spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | dummy_spanned(root), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | fn collect_roots(tcx: TyCtxt<'_>, mode: MonoItemCollectionMode) -> Vec> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItemCollectionMode` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:141:41 [INFO] [stdout] | [INFO] [stdout] 141 | fn collect_roots(tcx: TyCtxt<'_>, mode: MonoItemCollectionMode) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:141:72 [INFO] [stdout] | [INFO] [stdout] 141 | fn collect_roots(tcx: TyCtxt<'_>, mode: MonoItemCollectionMode) -> Vec> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | starting_point: Spanned>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | starting_point: Spanned>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MTRef` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | visited: MTRef<'_, MTLock>>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MTLock` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | visited: MTRef<'_, MTLock>>>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FxHashSet` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:176:31 [INFO] [stdout] | [INFO] [stdout] 176 | visited: MTRef<'_, MTLock>>>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:176:41 [INFO] [stdout] | [INFO] [stdout] 176 | visited: MTRef<'_, MTLock>>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefIdMap` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | recursion_depths: &mut DefIdMap, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Limit` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | recursion_limit: Limit, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MTRef` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | access_map: MTRef<'_, MTLock>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MTLock` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | access_map: MTRef<'_, MTLock>>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOCAL_CRATE` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:280:90 [INFO] [stdout] | [INFO] [stdout] 280 | if tcx.sess.diagnostic().err_count() > error_count && starting_point.node.krate() != LOCAL_CRATE [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `with_no_trimmed_paths` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:282:30 [INFO] [stdout] | [INFO] [stdout] 282 | let formatted_item = with_no_trimmed_paths(|| starting_point.node.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:330:10 [INFO] [stdout] | [INFO] [stdout] 330 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instance` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:331:16 [INFO] [stdout] | [INFO] [stdout] 331 | instance: &Instance<'tcx>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instance` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:362:15 [INFO] [stdout] | [INFO] [stdout] 362 | instance: Instance<'tcx>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:363:11 [INFO] [stdout] | [INFO] [stdout] 363 | span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefIdMap` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:364:28 [INFO] [stdout] | [INFO] [stdout] 364 | recursion_depths: &mut DefIdMap, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Limit` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:365:22 [INFO] [stdout] | [INFO] [stdout] 365 | recursion_limit: Limit, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:366:7 [INFO] [stdout] | [INFO] [stdout] 366 | ) -> (DefId, usize) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FatalError` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | FatalError.raise(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:408:39 [INFO] [stdout] | [INFO] [stdout] 408 | fn check_type_length_limit<'tcx>(tcx: TyCtxt<'tcx>, instance: Instance<'tcx>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instance` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:408:63 [INFO] [stdout] | [INFO] [stdout] 408 | fn check_type_length_limit<'tcx>(tcx: TyCtxt<'tcx>, instance: Instance<'tcx>) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:451:10 [INFO] [stdout] | [INFO] [stdout] 451 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:453:25 [INFO] [stdout] | [INFO] [stdout] 453 | output: &'a mut Vec>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:453:33 [INFO] [stdout] | [INFO] [stdout] 453 | output: &'a mut Vec>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instance` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:454:15 [INFO] [stdout] | [INFO] [stdout] 454 | instance: Instance<'tcx>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TypeFoldable` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 460 | T: TypeFoldable<'tcx>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MirVisitor` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:471:16 [INFO] [stdout] | [INFO] [stdout] 471 | impl<'a, 'tcx> MirVisitor<'tcx> for MirNeighborCollector<'a, '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/monomorphize_collector.rs:472:70 [INFO] [stdout] | [INFO] [stdout] 472 | fn visit_rvalue(&mut self, rvalue: &mir::Rvalue<'tcx>, location: Location) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use core::panic::Location; [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `respan` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:545:34 [INFO] [stdout] | [INFO] [stdout] 545 | self.output.push(respan(span, MonoItem::Static(def_id))); [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:556:76 [INFO] [stdout] | [INFO] [stdout] 556 | fn visit_constant(&mut self, constant: &mir::Constant<'tcx>, location: Location) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use core::panic::Location; [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:582:75 [INFO] [stdout] | [INFO] [stdout] 582 | fn visit_const(&mut self, constant: &&'tcx ty::Const<'tcx>, location: Location) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use core::panic::Location; [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Location` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:613:82 [INFO] [stdout] | [INFO] [stdout] 613 | fn visit_terminator(&mut self, terminator: &mir::Terminator<'tcx>, location: Location) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use core::panic::Location; [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `respan` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:639:46 [INFO] [stdout] | [INFO] [stdout] 639 | ... self.output.push(respan(source, MonoItem::Static(def_id))); [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/monomorphize_collector.rs:661:73 [INFO] [stdout] | [INFO] [stdout] 661 | fn visit_operand(&mut self, operand: &mir::Operand<'tcx>, location: Location) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use core::panic::Location; [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LARGE_ASSIGNMENTS` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:688:21 [INFO] [stdout] | [INFO] [stdout] 688 | LARGE_ASSIGNMENTS, [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/monomorphize_collector.rs:703:24 [INFO] [stdout] | [INFO] [stdout] 703 | _place_local: &Local, [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/monomorphize_collector.rs:705:20 [INFO] [stdout] | [INFO] [stdout] 705 | _location: Location, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use core::panic::Location; [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:711:10 [INFO] [stdout] | [INFO] [stdout] 711 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:712:9 [INFO] [stdout] | [INFO] [stdout] 712 | ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:714:13 [INFO] [stdout] | [INFO] [stdout] 714 | source: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:715:22 [INFO] [stdout] | [INFO] [stdout] 715 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:715:30 [INFO] [stdout] | [INFO] [stdout] 715 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:722:10 [INFO] [stdout] | [INFO] [stdout] 722 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:723:9 [INFO] [stdout] | [INFO] [stdout] 723 | ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | source: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:726:22 [INFO] [stdout] | [INFO] [stdout] 726 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:726:30 [INFO] [stdout] | [INFO] [stdout] 726 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:742:10 [INFO] [stdout] | [INFO] [stdout] 742 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | source: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:746:22 [INFO] [stdout] | [INFO] [stdout] 746 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:746:30 [INFO] [stdout] | [INFO] [stdout] 746 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:780:38 [INFO] [stdout] | [INFO] [stdout] 780 | fn should_codegen_locally<'tcx>(tcx: TyCtxt<'tcx>, instance: &Instance<'tcx>) -> bool { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instance` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:780:63 [INFO] [stdout] | [INFO] [stdout] 780 | fn should_codegen_locally<'tcx>(tcx: TyCtxt<'tcx>, instance: &Instance<'tcx>) -> bool { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:859:10 [INFO] [stdout] | [INFO] [stdout] 859 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:860:16 [INFO] [stdout] | [INFO] [stdout] 860 | source_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:861:16 [INFO] [stdout] | [INFO] [stdout] 861 | target_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:862:7 [INFO] [stdout] | [INFO] [stdout] 862 | ) -> (Ty<'tcx>, Ty<'tcx>) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:862:17 [INFO] [stdout] | [INFO] [stdout] 862 | ) -> (Ty<'tcx>, Ty<'tcx>) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:863:37 [INFO] [stdout] | [INFO] [stdout] 863 | let ptr_vtable = |inner_source: Ty<'tcx>, inner_target: Ty<'tcx>| { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:863:61 [INFO] [stdout] | [INFO] [stdout] 863 | let ptr_vtable = |inner_source: Ty<'tcx>, inner_target: Ty<'tcx>| { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:865:38 [INFO] [stdout] | [INFO] [stdout] 865 | let type_has_metadata = |ty: Ty<'tcx>| -> bool { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:866:35 [INFO] [stdout] | [INFO] [stdout] 866 | if ty.is_sized(tcx.at(DUMMY_SP), param_env) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:920:10 [INFO] [stdout] | [INFO] [stdout] 920 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instance` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:921:15 [INFO] [stdout] | [INFO] [stdout] 921 | instance: Instance<'tcx>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:922:13 [INFO] [stdout] | [INFO] [stdout] 922 | source: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:923:6 [INFO] [stdout] | [INFO] [stdout] 923 | ) -> Spanned> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:923:14 [INFO] [stdout] | [INFO] [stdout] 923 | ) -> Spanned> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `respan` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:925:5 [INFO] [stdout] | [INFO] [stdout] 925 | respan(source, MonoItem::Fn(instance.polymorphize(tcx))) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:931:10 [INFO] [stdout] | [INFO] [stdout] 931 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:932:15 [INFO] [stdout] | [INFO] [stdout] 932 | trait_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:933:14 [INFO] [stdout] | [INFO] [stdout] 933 | impl_ty: Ty<'tcx>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:934:13 [INFO] [stdout] | [INFO] [stdout] 934 | source: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:935:22 [INFO] [stdout] | [INFO] [stdout] 935 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:935:30 [INFO] [stdout] | [INFO] [stdout] 935 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:975:10 [INFO] [stdout] | [INFO] [stdout] 975 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItemCollectionMode` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:976:11 [INFO] [stdout] | [INFO] [stdout] 976 | mode: MonoItemCollectionMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:977:25 [INFO] [stdout] | [INFO] [stdout] 977 | output: &'a mut Vec>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:977:33 [INFO] [stdout] | [INFO] [stdout] 977 | output: &'a mut Vec>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:978:23 [INFO] [stdout] | [INFO] [stdout] 974 | struct RootCollector<'a, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, DefId` [INFO] [stdout] ... [INFO] [stdout] 978 | entry_fn: Option<(DefId, EntryFnType)>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntryFnType` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:978:30 [INFO] [stdout] | [INFO] [stdout] 974 | struct RootCollector<'a, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, EntryFnType` [INFO] [stdout] ... [INFO] [stdout] 978 | entry_fn: Option<(DefId, EntryFnType)>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ItemLikeVisitor` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:981:10 [INFO] [stdout] | [INFO] [stdout] 981 | impl<'v> ItemLikeVisitor<'v> for RootCollector<'_, 'v> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1013:60 [INFO] [stdout] | [INFO] [stdout] 1013 | visit_drop_use(self.tcx, ty, true, DUMMY_SP, self.output); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dummy_spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1023:27 [INFO] [stdout] | [INFO] [stdout] 1023 | .push(dummy_spanned(MonoItem::GlobalAsm(item.item_id()))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dummy_spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1031:27 [INFO] [stdout] | [INFO] [stdout] 1031 | .push(dummy_spanned(MonoItem::Static(item.def_id.to_def_id()))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1063:31 [INFO] [stdout] | [INFO] [stdout] 1063 | fn is_root(&self, def_id: LocalDefId) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1081:40 [INFO] [stdout] | [INFO] [stdout] 1081 | fn push_if_root(&mut self, def_id: LocalDefId) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1090:63 [INFO] [stdout] | [INFO] [stdout] 1090 | .push(create_fn_mono_item(self.tcx, instance, DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1128:65 [INFO] [stdout] | [INFO] [stdout] 1128 | .push(create_fn_mono_item(self.tcx, start_instance, DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1132:40 [INFO] [stdout] | [INFO] [stdout] 1132 | fn item_requires_monomorphization(tcx: TyCtxt<'_>, def_id: LocalDefId) -> bool { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1132:60 [INFO] [stdout] | [INFO] [stdout] 1132 | fn item_requires_monomorphization(tcx: TyCtxt<'_>, def_id: LocalDefId) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1138:10 [INFO] [stdout] | [INFO] [stdout] 1138 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1140:22 [INFO] [stdout] | [INFO] [stdout] 1140 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1140:30 [INFO] [stdout] | [INFO] [stdout] 1140 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FxHashSet` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1161:41 [INFO] [stdout] | [INFO] [stdout] 1161 | let overridden_methods: FxHashSet<_> = impl_ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1190:72 [INFO] [stdout] | [INFO] [stdout] 1190 | let mono_item = create_fn_mono_item(tcx, instance, DUMMY_SP); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1203:10 [INFO] [stdout] | [INFO] [stdout] 1203 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AllocId` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1204:15 [INFO] [stdout] | [INFO] [stdout] 1204 | alloc_id: AllocId, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1205:22 [INFO] [stdout] | [INFO] [stdout] 1205 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1205:30 [INFO] [stdout] | [INFO] [stdout] 1205 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dummy_spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1211:25 [INFO] [stdout] | [INFO] [stdout] 1211 | output.push(dummy_spanned(MonoItem::Static(def_id))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1223:63 [INFO] [stdout] | [INFO] [stdout] 1223 | output.push(create_fn_mono_item(tcx, fn_instance, DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1230:10 [INFO] [stdout] | [INFO] [stdout] 1230 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instance` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1231:15 [INFO] [stdout] | [INFO] [stdout] 1231 | instance: Instance<'tcx>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1232:22 [INFO] [stdout] | [INFO] [stdout] 1232 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1232:30 [INFO] [stdout] | [INFO] [stdout] 1232 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1247:10 [INFO] [stdout] | [INFO] [stdout] 1247 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConstValue` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1248:12 [INFO] [stdout] | [INFO] [stdout] 1248 | value: ConstValue<'tcx>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1249:22 [INFO] [stdout] | [INFO] [stdout] 1249 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/monomorphize_collector.rs:1249:30 [INFO] [stdout] | [INFO] [stdout] 1249 | output: &mut Vec>>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Callbacks` in this scope [INFO] [stdout] --> src/main.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl Callbacks for MyCallbacks { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Config` in this scope [INFO] [stdout] --> src/main.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | fn config(&mut self, config: &mut Config) { [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:32:65 [INFO] [stdout] | [INFO] [stdout] 32 | 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 `InfallibleAllocation` in module `infallible_allocation` [INFO] [stdout] --> src/main.rs:33:78 [INFO] [stdout] | [INFO] [stdout] 33 | lint_store.register_late_pass(|| Box::new(infallible_allocation::InfallibleAllocation)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `infallible_allocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 385 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0408, E0412, E0422, E0425, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `klint` due to 386 previous errors [INFO] running `Command { std: "docker" "inspect" "d45f6df1c57e7969251ccad134f677568ff871321e7cfbb956d9355216e63693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45f6df1c57e7969251ccad134f677568ff871321e7cfbb956d9355216e63693", kill_on_drop: false }` [INFO] [stdout] d45f6df1c57e7969251ccad134f677568ff871321e7cfbb956d9355216e63693