[INFO] fetching crate idl-gen 0.1.0... [INFO] testing idl-gen-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate idl-gen 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate idl-gen 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate idl-gen 0.1.0 [INFO] finished tweaking crates.io crate idl-gen 0.1.0 [INFO] tweaked toml for crates.io crate idl-gen 0.1.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1.60.0" "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] f45e366b1d7e878fa06633be9e0847cec8a75f2cd4ae23d5763401a10fd6babc [INFO] running `Command { std: "docker" "start" "-a" "f45e366b1d7e878fa06633be9e0847cec8a75f2cd4ae23d5763401a10fd6babc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f45e366b1d7e878fa06633be9e0847cec8a75f2cd4ae23d5763401a10fd6babc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45e366b1d7e878fa06633be9e0847cec8a75f2cd4ae23d5763401a10fd6babc", kill_on_drop: false }` [INFO] [stdout] f45e366b1d7e878fa06633be9e0847cec8a75f2cd4ae23d5763401a10fd6babc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8411a8d63679bc9dc4769b75e5c1ce09b43cda6c7738ce4bc2761d2be53bff2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f8411a8d63679bc9dc4769b75e5c1ce09b43cda6c7738ce4bc2761d2be53bff2", kill_on_drop: false }` [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling idl-gen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | 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/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_interface` [INFO] [stdout] --> src/lib.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_plugin` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate rustc_plugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax_pos` [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate syntax_pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 319 | use hir::def::{DefKind, Res}; [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/rpc.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | use ty::TyKind::*; [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 `hir` [INFO] [stdout] --> src/visitor.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | use hir::def::{DefKind, Res}; [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hir`, `hir::def::DefKind`, `hir::def::Res`, `ty::TyKind::*`, `hir::def::DefKind`, `hir::def::Res` [INFO] [stdout] --> src/rpc.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | use hir::TyKind; [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] ... [INFO] [stdout] 319 | use hir::def::{DefKind, Res}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | use ty::TyKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/visitor.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | use hir::def::{DefKind, Res}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/rpc.rs:57:74 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some(indexed_fields) = event_indices.get(&Symbol::intern(name)) { [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/rpc.rs:61:52 [INFO] [stdout] | [INFO] [stdout] 61 | ... .any(|f| *f == Symbol::intern(field.name.as_str())); [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | hir::ImplicitSelfKind::ImmRef => StateMutability::Immutable, [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | hir::ImplicitSelfKind::MutRef => StateMutability::Mutable, [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | hir::FunctionRetTy::DefaultReturn(_) => None, [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | hir::FunctionRetTy::Return(ty) => match &ty.node { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | hir::TyKind::Path(hir::QPath::Resolved(_, path)) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | hir::TyKind::Path(hir::QPath::Resolved(_, path)) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:298:37 [INFO] [stdout] | [INFO] [stdout] 298 | fn convert_ty(tcx: TyCtxt, ty: &hir::Ty) -> Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | hir::ExprKind::Lit(syntax::source_map::Spanned { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:312:29 [INFO] [stdout] | [INFO] [stdout] 312 | TyKind::Rptr(_, hir::MutTy { ty, .. }) => Type::convert_ty(tcx, ty)?, [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:318:26 [INFO] [stdout] | [INFO] [stdout] 318 | TyKind::Path(hir::QPath::Resolved(_, path)) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Res` [INFO] [stdout] --> src/rpc.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | Res::Def(kind, id) => match kind { [INFO] [stdout] | ^^^ use of undeclared type `Res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefKind` [INFO] [stdout] --> src/rpc.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | DefKind::Struct [INFO] [stdout] | ^^^^^^^ use of undeclared type `DefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefKind` [INFO] [stdout] --> src/rpc.rs:323:27 [INFO] [stdout] | [INFO] [stdout] 323 | | DefKind::Union [INFO] [stdout] | ^^^^^^^ use of undeclared type `DefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefKind` [INFO] [stdout] --> src/rpc.rs:324:27 [INFO] [stdout] | [INFO] [stdout] 324 | | DefKind::Enum [INFO] [stdout] | ^^^^^^^ use of undeclared type `DefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefKind` [INFO] [stdout] --> src/rpc.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | | DefKind::Variant [INFO] [stdout] | ^^^^^^^ use of undeclared type `DefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefKind` [INFO] [stdout] --> src/rpc.rs:326:27 [INFO] [stdout] | [INFO] [stdout] 326 | | DefKind::TyAlias [INFO] [stdout] | ^^^^^^^ use of undeclared type `DefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefKind` [INFO] [stdout] --> src/rpc.rs:327:27 [INFO] [stdout] | [INFO] [stdout] 327 | | DefKind::Const => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `DefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:329:55 [INFO] [stdout] | [INFO] [stdout] 329 | ... let is_vec_u8 = |vec_ty: &hir::Ty| match vec_ty.node { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:330:33 [INFO] [stdout] | [INFO] [stdout] 330 | ... hir::TyKind::Path(hir::QPath::Resolved(_, ref path)) [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:330:51 [INFO] [stdout] | [INFO] [stdout] 330 | ... hir::TyKind::Path(hir::QPath::Resolved(_, ref path)) [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Res` [INFO] [stdout] --> src/rpc.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | Res::PrimTy(ty) => match ty { [INFO] [stdout] | ^^^ use of undeclared type `Res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | hir::PrimTy::Int(ty) => Type::convert_int(ty, path.span)?, [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | hir::PrimTy::Uint(ty) => Type::convert_uint(ty, path.span)?, [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | hir::PrimTy::Float(ty) => Type::convert_float(ty, path.span)?, [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | hir::PrimTy::Str => Type::String, [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:357:25 [INFO] [stdout] | [INFO] [stdout] 357 | hir::PrimTy::Bool => Type::Bool, [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | hir::PrimTy::Char => Type::I8, [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/rpc.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | IntTy::I8 => Type::I8, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/rpc.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | IntTy::I16 => Type::I16, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/rpc.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | IntTy::I32 => Type::I32, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/rpc.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | IntTy::I64 => Type::I64, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/rpc.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | IntTy::I128 | IntTy::Isize => { [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/rpc.rs:427:27 [INFO] [stdout] | [INFO] [stdout] 427 | IntTy::I128 | IntTy::Isize => { [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/rpc.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | UintTy::U8 => Type::U8, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/rpc.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | UintTy::U16 => Type::U16, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/rpc.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | UintTy::U32 => Type::U32, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/rpc.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | UintTy::U64 => Type::U64, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/rpc.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | UintTy::U128 | UintTy::Usize => { [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/rpc.rs:443:28 [INFO] [stdout] | [INFO] [stdout] 443 | UintTy::U128 | UintTy::Usize => { [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/rpc.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | FloatTy::F32 => Type::F32, [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/rpc.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | FloatTy::F64 => Type::F64, [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_type_args(path: &hir::Path) -> Vec<&hir::Ty> { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_type_args(path: &hir::Path) -> Vec<&hir::Ty> { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | hir::GenericArg::Type(ty) => Some(ty), [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/visitor.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | }) if *path == Symbol::intern("derive") => metas, [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/visitor.rs:53:63 [INFO] [stdout] | [INFO] [stdout] 53 | ... .find(|attr| attr.path == Symbol::intern("indexed")) [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | rpcs: Vec<(Symbol, &'tcx hir::FnDecl)>, // the collected RPC fns [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HirIdSet` [INFO] [stdout] --> src/visitor.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | rpc_impls: HirIdSet::default(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `HirIdSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn rpcs(&self) -> &[(Symbol, &'tcx hir::FnDecl)] { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'a, 'gcx, 'tcx> hir::itemlikevisit::ItemLikeVisitor<'tcx> for RpcCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | fn visit_item(&mut self, item: &'tcx hir::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | if let hir::ItemKind::Impl(_, _, _, _, None /* `trait_ref` */, ty, _) = &item.node { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | if let hir::TyKind::Path(hir::QPath::Resolved(_, path)) = &ty.node { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | if let hir::TyKind::Path(hir::QPath::Resolved(_, path)) = &ty.node { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:105:52 [INFO] [stdout] | [INFO] [stdout] 105 | fn visit_impl_item(&mut self, impl_item: &'tcx hir::ImplItem) { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | if let hir::ImplItemKind::Method(hir::MethodSig { decl, .. }, _) = &impl_item.node { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | if let hir::ImplItemKind::Method(hir::MethodSig { decl, .. }, _) = &impl_item.node { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:117:55 [INFO] [stdout] | [INFO] [stdout] 117 | fn visit_trait_item(&mut self, _trait_item: &'tcx hir::TraitItem) {} [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FxHashSet` [INFO] [stdout] --> src/visitor.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | adt_defs: 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 `hir` [INFO] [stdout] --> src/visitor.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | impl<'a, 'gcx, 'tcx> hir::intravisit::Visitor<'tcx> for DefinedTypeCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:160:38 [INFO] [stdout] | [INFO] [stdout] 160 | fn visit_ty(&mut self, ty: &'tcx hir::Ty) { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | if let hir::TyKind::Path(hir::QPath::Resolved(_, path)) = &ty.node { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | if let hir::TyKind::Path(hir::QPath::Resolved(_, path)) = &ty.node { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Res` [INFO] [stdout] --> src/visitor.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | if let Res::Def(kind, id) = path.res { [INFO] [stdout] | ^^^ use of undeclared type `Res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefKind` [INFO] [stdout] --> src/visitor.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | DefKind::Struct | DefKind::Union | DefKind::Enum | DefKind::TyAlias => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `DefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefKind` [INFO] [stdout] --> src/visitor.rs:165:39 [INFO] [stdout] | [INFO] [stdout] 165 | DefKind::Struct | DefKind::Union | DefKind::Enum | DefKind::TyAlias => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `DefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefKind` [INFO] [stdout] --> src/visitor.rs:165:56 [INFO] [stdout] | [INFO] [stdout] 165 | DefKind::Struct | DefKind::Union | DefKind::Enum | DefKind::TyAlias => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `DefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefKind` [INFO] [stdout] --> src/visitor.rs:165:72 [INFO] [stdout] | [INFO] [stdout] 165 | DefKind::Struct | DefKind::Union | DefKind::Enum | DefKind::TyAlias => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `DefKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit` [INFO] [stdout] --> src/visitor.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | intravisit::walk_ty(self, ty); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `intravisit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit` [INFO] [stdout] --> src/visitor.rs:175:52 [INFO] [stdout] | [INFO] [stdout] 175 | fn nested_visit_map<'this>(&'this mut self) -> intravisit::NestedVisitorMap<'this, 'tcx> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `intravisit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit` [INFO] [stdout] --> src/visitor.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | intravisit::NestedVisitorMap::None [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `intravisit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FxHashSet` [INFO] [stdout] --> src/visitor.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | adt_defs: 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 `hir` [INFO] [stdout] --> src/visitor.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | impl<'a, 'gcx, 'tcx> hir::intravisit::Visitor<'tcx> for EventCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:204:42 [INFO] [stdout] | [INFO] [stdout] 204 | fn visit_expr(&mut self, expr: &'tcx hir::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | hir::ExprKind::MethodCall(path_seg, _span, args) [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | hir::ExprKind::Call(func_expr, args) => match &func_expr.node { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | hir::ExprKind::Path(hir::QPath::Resolved(_, path)) [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | hir::ExprKind::Path(hir::QPath::Resolved(_, path)) [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/visitor.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | if let ty::TyKind::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 `ty` [INFO] [stdout] --> src/visitor.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | sty: ty::TyKind::Adt(adt_def, _), [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 `intravisit` [INFO] [stdout] --> src/visitor.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | intravisit::walk_expr(self, expr); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `intravisit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit` [INFO] [stdout] --> src/visitor.rs:244:52 [INFO] [stdout] | [INFO] [stdout] 244 | fn nested_visit_map<'this>(&'this mut self) -> intravisit::NestedVisitorMap<'this, 'tcx> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `intravisit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit` [INFO] [stdout] --> src/visitor.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | intravisit::NestedVisitorMap::OnlyBodies(self.tcx.hir()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `intravisit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/error.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | NotReprC(TypeStr, Span), [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/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | ComplexEnum(Span), [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/error.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | Unimplemented(TypeStr, Span), [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/error.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn span(&self) -> Span { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Once` in this scope [INFO] [stdout] --> src/gen.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | iface: Once, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Once; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Once` in this scope [INFO] [stdout] --> src/gen.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | deps: Once>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Once; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Once` [INFO] [stdout] --> src/gen.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | iface: Once::new(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Once; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Once` [INFO] [stdout] --> src/gen.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | deps: Once::new(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Once; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/rpc.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | tcx: TyCtxt, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/rpc.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | name: Symbol, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/rpc.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 27 | impl Interface { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 33 | imports: BTreeSet<(Symbol, String)>, // (name, version) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AdtDef` in this scope [INFO] [stdout] --> src/rpc.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 27 | impl Interface { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | adt_defs: BTreeSet<(&AdtDef, bool)>, // (adt_def, is_event) [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/rpc.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | event_indices: &FxHashMap>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/rpc.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 27 | impl Interface { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | event_indices: &FxHashMap>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/rpc.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 27 | impl Interface { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | event_indices: &FxHashMap>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/rpc.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | fns: &[(Symbol, &FnDecl)], [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/rpc.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fns: &[(Symbol, &FnDecl)], [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/rpc.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | fn convert(tcx: TyCtxt, decl: &FnDecl) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/rpc.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | fn convert(tcx: TyCtxt, decl: &FnDecl) -> Result> { [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/rpc.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | tcx: TyCtxt, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/rpc.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 154 | name: Symbol, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/rpc.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | decl: &FnDecl, [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/rpc.rs:298:24 [INFO] [stdout] | [INFO] [stdout] 298 | fn convert_ty(tcx: TyCtxt, ty: &hir::Ty) -> Result { [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/rpc.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | fn convert_sty(tcx: TyCtxt, did: DefId, ty: &TyS) -> Result { [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/rpc.rs:372:38 [INFO] [stdout] | [INFO] [stdout] 372 | fn convert_sty(tcx: TyCtxt, did: DefId, ty: &TyS) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyS` in this scope [INFO] [stdout] --> src/rpc.rs:372:50 [INFO] [stdout] | [INFO] [stdout] 372 | fn convert_sty(tcx: TyCtxt, did: DefId, ty: &TyS) -> Result { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Int` in this scope [INFO] [stdout] --> src/rpc.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | Int(ty) => Type::convert_int(ty, tcx.def_span(did))?, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Uint` in this scope [INFO] [stdout] --> src/rpc.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | Uint(ty) => Type::convert_uint(ty, tcx.def_span(did))?, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Float` in this scope [INFO] [stdout] --> src/rpc.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | Float(ty) => Type::convert_float(ty, tcx.def_span(did))?, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::Unexpected::Float; [INFO] [stdout] | [INFO] [stdout] 3 | use toml::Value::Float; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Adt` in this scope [INFO] [stdout] --> src/rpc.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | Adt(AdtDef { did, .. }, substs) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AdtDef` in this scope [INFO] [stdout] --> src/rpc.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | Adt(AdtDef { did, .. }, substs) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyS` in this scope [INFO] [stdout] --> src/rpc.rs:381:43 [INFO] [stdout] | [INFO] [stdout] 381 | let is_vec_u8 = |vec_ty: &TyS| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Uint` in this scope [INFO] [stdout] --> src/rpc.rs:382:28 [INFO] [stdout] | [INFO] [stdout] 382 | if let Uint(syntax::ast::UintTy::U8) = vec_ty.sty { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> src/rpc.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | Array(ty, len) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rpc::Type::Array; [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value::Array; [INFO] [stdout] | [INFO] [stdout] 3 | use toml::Value::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Slice` in this scope [INFO] [stdout] --> src/rpc.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | Slice(ty) => Type::List(box Type::convert_sty(tcx, did, ty)?), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ref` in this scope [INFO] [stdout] --> src/rpc.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | Ref(_, ty, _) => return Type::convert_sty(tcx, did, ty), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Tuple` in this scope [INFO] [stdout] --> src/rpc.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | Tuple(substs) => Type::Tuple( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rpc::Type::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/rpc.rs:471:21 [INFO] [stdout] | [INFO] [stdout] 471 | fn convert(tcx: TyCtxt, def: &AdtDef, is_event: bool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AdtDef` in this scope [INFO] [stdout] --> src/rpc.rs:471:35 [INFO] [stdout] | [INFO] [stdout] 471 | fn convert(tcx: TyCtxt, def: &AdtDef, is_event: bool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/utils.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn is_std(crate_name: Symbol) -> 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/utils.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn def_path(tcx: TyCtxt, did: DefId) -> (Symbol, 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/utils.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn def_path(tcx: TyCtxt, did: DefId) -> (Symbol, Vec) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/utils.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn def_path(tcx: TyCtxt, did: DefId) -> (Symbol, Vec) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SyntaxPass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | service_name: Option, // set to `Some` once pass is complete [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/visitor.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | event_indices: FxHashMap>, // event_name -> field_name [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SyntaxPass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | service_name: Option, // set to `Some` once pass is complete [INFO] [stdout] 11 | event_indices: FxHashMap>, // event_name -> field_name [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SyntaxPass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | service_name: Option, // set to `Some` once pass is complete [INFO] [stdout] 11 | event_indices: FxHashMap>, // event_name -> field_name [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 14 | impl SyntaxPass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 15 | pub fn service_name(&self) -> Option { [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/visitor.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn event_indices(&self) -> &FxHashMap> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 14 | impl SyntaxPass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn event_indices(&self) -> &FxHashMap> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 14 | impl SyntaxPass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn event_indices(&self) -> &FxHashMap> { [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/visitor.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | tcx: TyCtxt<'a, 'gcx, 'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | service_name: Symbol, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HirIdSet` in this scope [INFO] [stdout] --> src/visitor.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | rpc_impls: HirIdSet, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct RpcCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Symbol` [INFO] [stdout] ... [INFO] [stdout] 76 | rpcs: Vec<(Symbol, &'tcx hir::FnDecl)>, // the collected RPC fns [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/visitor.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(tcx: TyCtxt<'a, 'gcx, 'tcx>, service_name: Symbol) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:80:59 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(tcx: TyCtxt<'a, 'gcx, 'tcx>, service_name: Symbol) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn rpcs(&self) -> &[(Symbol, &'tcx hir::FnDecl)] { [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/visitor.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | tcx: TyCtxt<'a, 'gcx, 'tcx>, [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/visitor.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | adt_defs: FxHashSet<&'tcx AdtDef>, // maintain a `Set` to handle recursive types [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AdtDef` in this scope [INFO] [stdout] --> src/visitor.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct DefinedTypeCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, AdtDef` [INFO] [stdout] 123 | tcx: TyCtxt<'a, 'gcx, 'tcx>, [INFO] [stdout] 124 | adt_defs: FxHashSet<&'tcx AdtDef>, // maintain a `Set` to handle recursive types [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/visitor.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new(tcx: TyCtxt<'a, 'gcx, 'tcx>) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AdtDef` in this scope [INFO] [stdout] --> src/visitor.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 127 | impl<'a, 'gcx, 'tcx> DefinedTypeCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, AdtDef` [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn adt_defs(self) -> Vec<&'tcx AdtDef> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyS` in this scope [INFO] [stdout] --> src/visitor.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | fn visit_sty(&mut self, ty: &'tcx TyS) { [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/visitor.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | tcx: TyCtxt<'a, 'gcx, 'tcx>, [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/visitor.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | adt_defs: FxHashSet<&'tcx AdtDef>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AdtDef` in this scope [INFO] [stdout] --> src/visitor.rs:185:31 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct EventCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, AdtDef` [INFO] [stdout] 184 | tcx: TyCtxt<'a, 'gcx, 'tcx>, [INFO] [stdout] 185 | adt_defs: FxHashSet<&'tcx AdtDef>, [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/visitor.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn new(tcx: TyCtxt<'a, 'gcx, 'tcx>) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AdtDef` in this scope [INFO] [stdout] --> src/visitor.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 188 | impl<'a, 'gcx, 'tcx> EventCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, AdtDef` [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn adt_defs(self) -> Vec<&'tcx AdtDef> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TyS` in this scope [INFO] [stdout] --> src/visitor.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | TyS { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(box_syntax, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 167 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0463, E0531, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `idl-gen` due to 168 previous errors [INFO] running `Command { std: "docker" "inspect" "f8411a8d63679bc9dc4769b75e5c1ce09b43cda6c7738ce4bc2761d2be53bff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8411a8d63679bc9dc4769b75e5c1ce09b43cda6c7738ce4bc2761d2be53bff2", kill_on_drop: false }` [INFO] [stdout] f8411a8d63679bc9dc4769b75e5c1ce09b43cda6c7738ce4bc2761d2be53bff2