[INFO] fetching crate petitset 0.2.1... [INFO] checking petitset-0.2.1 against try#c3491e21996dc67a8e37d9e5e74ed156563e9854 for pr-101345 [INFO] extracting crate petitset 0.2.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate petitset 0.2.1 on toolchain c3491e21996dc67a8e37d9e5e74ed156563e9854 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/.cargo/config.toml [INFO] started tweaking crates.io crate petitset 0.2.1 [INFO] finished tweaking crates.io crate petitset 0.2.1 [INFO] tweaked toml for crates.io crate petitset 0.2.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dacf4677e83722dddb285a15e6e8039f8ea4e6d53af9b46540ddf7885c0e8bab [INFO] running `Command { std: "docker" "start" "-a" "dacf4677e83722dddb285a15e6e8039f8ea4e6d53af9b46540ddf7885c0e8bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dacf4677e83722dddb285a15e6e8039f8ea4e6d53af9b46540ddf7885c0e8bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dacf4677e83722dddb285a15e6e8039f8ea4e6d53af9b46540ddf7885c0e8bab", kill_on_drop: false }` [INFO] [stdout] dacf4677e83722dddb285a15e6e8039f8ea4e6d53af9b46540ddf7885c0e8bab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56ec26c0ae3b5cb7bcd84a6d2618a3a4975a12c7ba400919450ad7c4fbcdd950 [INFO] running `Command { std: "docker" "start" "-a" "56ec26c0ae3b5cb7bcd84a6d2618a3a4975a12c7ba400919450ad7c4fbcdd950", kill_on_drop: false }` [INFO] [stderr] Checking petitset v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: internal compiler error: no errors encountered even though `delay_span_bug` issued [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected const parent in type_of(): Ty(Ty { hir_id: HirId { owner: DefId(0:37 ~ petitset[7fc2]::map::{impl#1}::iter), local_id: 29 }, kind: OpaqueDef(ItemId { def_id: DefId(0:38 ~ petitset[7fc2]::map::{impl#1}::iter::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:37 ~ petitset[7fc2]::map::{impl#1}::iter), local_id: 24 }, span: src/map.rs:109:48: 109:55 (#0), name: Param(DefId(0:413 ~ petitset[7fc2]::map::{impl#1}::iter::'_), Fresh) }), Type(Ty { hir_id: HirId { owner: DefId(0:37 ~ petitset[7fc2]::map::{impl#1}::iter), local_id: 25 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:6: 37:7 (#0), res: Def(TyParam, DefId(0:27 ~ petitset[7fc2]::map::{impl#1}::K)), segments: [PathSegment { ident: K#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:6: 37:7 (#0) }), Type(Ty { hir_id: HirId { owner: DefId(0:37 ~ petitset[7fc2]::map::{impl#1}::iter), local_id: 26 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:9: 37:10 (#0), res: Def(TyParam, DefId(0:28 ~ petitset[7fc2]::map::{impl#1}::V)), segments: [PathSegment { ident: V#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:9: 37:10 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:37 ~ petitset[7fc2]::map::{impl#1}::iter), local_id: 27 }, body: BodyId { hir_id: HirId { owner: DefId(0:37 ~ petitset[7fc2]::map::{impl#1}::iter), local_id: 28 } } }, span: src/map.rs:37:12: 37:28 (#0) })]), span: src/map.rs:109:27: 109:56 (#0) }) [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/collect/type_of.rs:479:23 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: TyKind::Error constructed but no error reported [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/check/coercion.rs:176:49 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: `InferCtxt` incorrectly tainted by errors [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_infer/src/infer/mod.rs:1265:27 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected const parent in type_of(): Ty(Ty { hir_id: HirId { owner: DefId(0:40 ~ petitset[7fc2]::map::{impl#1}::keys), local_id: 28 }, kind: OpaqueDef(ItemId { def_id: DefId(0:41 ~ petitset[7fc2]::map::{impl#1}::keys::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:40 ~ petitset[7fc2]::map::{impl#1}::keys), local_id: 23 }, span: src/map.rs:114:48: 114:50 (#0), name: Param(DefId(0:419 ~ petitset[7fc2]::map::{impl#1}::keys::'_), Fresh) }), Type(Ty { hir_id: HirId { owner: DefId(0:40 ~ petitset[7fc2]::map::{impl#1}::keys), local_id: 24 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:6: 37:7 (#0), res: Def(TyParam, DefId(0:27 ~ petitset[7fc2]::map::{impl#1}::K)), segments: [PathSegment { ident: K#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:6: 37:7 (#0) }), Type(Ty { hir_id: HirId { owner: DefId(0:40 ~ petitset[7fc2]::map::{impl#1}::keys), local_id: 25 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:9: 37:10 (#0), res: Def(TyParam, DefId(0:28 ~ petitset[7fc2]::map::{impl#1}::V)), segments: [PathSegment { ident: V#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:9: 37:10 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:40 ~ petitset[7fc2]::map::{impl#1}::keys), local_id: 26 }, body: BodyId { hir_id: HirId { owner: DefId(0:40 ~ petitset[7fc2]::map::{impl#1}::keys), local_id: 27 } } }, span: src/map.rs:37:12: 37:28 (#0) })]), span: src/map.rs:114:27: 114:51 (#0) }) [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/collect/type_of.rs:479:23 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected const parent in type_of(): Ty(Ty { hir_id: HirId { owner: DefId(0:43 ~ petitset[7fc2]::map::{impl#1}::values), local_id: 28 }, kind: OpaqueDef(ItemId { def_id: DefId(0:44 ~ petitset[7fc2]::map::{impl#1}::values::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:43 ~ petitset[7fc2]::map::{impl#1}::values), local_id: 23 }, span: src/map.rs:121:50: 121:52 (#0), name: Param(DefId(0:425 ~ petitset[7fc2]::map::{impl#1}::values::'_), Fresh) }), Type(Ty { hir_id: HirId { owner: DefId(0:43 ~ petitset[7fc2]::map::{impl#1}::values), local_id: 24 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:6: 37:7 (#0), res: Def(TyParam, DefId(0:27 ~ petitset[7fc2]::map::{impl#1}::K)), segments: [PathSegment { ident: K#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:6: 37:7 (#0) }), Type(Ty { hir_id: HirId { owner: DefId(0:43 ~ petitset[7fc2]::map::{impl#1}::values), local_id: 25 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:9: 37:10 (#0), res: Def(TyParam, DefId(0:28 ~ petitset[7fc2]::map::{impl#1}::V)), segments: [PathSegment { ident: V#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:9: 37:10 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:43 ~ petitset[7fc2]::map::{impl#1}::values), local_id: 26 }, body: BodyId { hir_id: HirId { owner: DefId(0:43 ~ petitset[7fc2]::map::{impl#1}::values), local_id: 27 } } }, span: src/map.rs:37:12: 37:28 (#0) })]), span: src/map.rs:121:29: 121:53 (#0) }) [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/collect/type_of.rs:479:23 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected const parent in type_of(): Ty(Ty { hir_id: HirId { owner: DefId(0:46 ~ petitset[7fc2]::map::{impl#1}::values_mut), local_id: 39 }, kind: OpaqueDef(ItemId { def_id: DefId(0:47 ~ petitset[7fc2]::map::{impl#1}::values_mut::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:46 ~ petitset[7fc2]::map::{impl#1}::values_mut), local_id: 34 }, span: src/map.rs:128:58: 128:64 (#0), name: Param(DefId(0:431 ~ petitset[7fc2]::map::{impl#1}::values_mut::'_), Fresh) }), Type(Ty { hir_id: HirId { owner: DefId(0:46 ~ petitset[7fc2]::map::{impl#1}::values_mut), local_id: 35 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:6: 37:7 (#0), res: Def(TyParam, DefId(0:27 ~ petitset[7fc2]::map::{impl#1}::K)), segments: [PathSegment { ident: K#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:6: 37:7 (#0) }), Type(Ty { hir_id: HirId { owner: DefId(0:46 ~ petitset[7fc2]::map::{impl#1}::values_mut), local_id: 36 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:9: 37:10 (#0), res: Def(TyParam, DefId(0:28 ~ petitset[7fc2]::map::{impl#1}::V)), segments: [PathSegment { ident: V#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:9: 37:10 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:46 ~ petitset[7fc2]::map::{impl#1}::values_mut), local_id: 37 }, body: BodyId { hir_id: HirId { owner: DefId(0:46 ~ petitset[7fc2]::map::{impl#1}::values_mut), local_id: 38 } } }, span: src/map.rs:37:12: 37:28 (#0) })]), span: src/map.rs:128:37: 128:65 (#0) }) [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/collect/type_of.rs:479:23 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected const parent in type_of(): Ty(Ty { hir_id: HirId { owner: DefId(0:159 ~ petitset[7fc2]::set::{impl#1}::iter), local_id: 28 }, kind: OpaqueDef(ItemId { def_id: DefId(0:160 ~ petitset[7fc2]::set::{impl#1}::iter::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:159 ~ petitset[7fc2]::set::{impl#1}::iter), local_id: 24 }, span: src/set.rs:81:48: 81:50 (#0), name: Param(DefId(0:495 ~ petitset[7fc2]::set::{impl#1}::iter::'_), Fresh) }), Type(Ty { hir_id: HirId { owner: DefId(0:159 ~ petitset[7fc2]::set::{impl#1}::iter), local_id: 25 }, kind: Path(Resolved(None, Path { span: src/set.rs:36:6: 36:7 (#0), res: Def(TyParam, DefId(0:150 ~ petitset[7fc2]::set::{impl#1}::T)), segments: [PathSegment { ident: T#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/set.rs:36:6: 36:7 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:159 ~ petitset[7fc2]::set::{impl#1}::iter), local_id: 26 }, body: BodyId { hir_id: HirId { owner: DefId(0:159 ~ petitset[7fc2]::set::{impl#1}::iter), local_id: 27 } } }, span: src/set.rs:36:9: 36:25 (#0) })]), span: src/set.rs:81:27: 81:51 (#0) }) [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/collect/type_of.rs:479:23 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: TyKind::Error constructed but no error reported [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_mir_build/src/build/mod.rs:759:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: mir_const_qualif: MIR had errors [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_mir_transform/src/lib.rs:190:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: PromoteTemps: MIR had errors [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_const_eval/src/transform/promote_consts.rs:52:22 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:418 ~ petitset[7fc2]::map::{impl#1}::iter::{constant#0}) ("return type"): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: TyKind::Error constructed but no error reported [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:765:20 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:418 ~ petitset[7fc2]::map::{impl#1}::iter::{constant#0}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/map.rs:37:12: 37:28 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:424 ~ petitset[7fc2]::map::{impl#1}::keys::{constant#0}) ("return type"): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:424 ~ petitset[7fc2]::map::{impl#1}::keys::{constant#0}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/map.rs:37:12: 37:28 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:430 ~ petitset[7fc2]::map::{impl#1}::values::{constant#0}) ("return type"): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:430 ~ petitset[7fc2]::map::{impl#1}::values::{constant#0}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/map.rs:37:12: 37:28 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:436 ~ petitset[7fc2]::map::{impl#1}::values_mut::{constant#0}) ("return type"): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:436 ~ petitset[7fc2]::map::{impl#1}::values_mut::{constant#0}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/map.rs:37:12: 37:28 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: mir_const_qualif: MIR had errors [INFO] [stdout] --> src/set.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl PetitSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_mir_transform/src/lib.rs:190:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: PromoteTemps: MIR had errors [INFO] [stdout] --> src/set.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl PetitSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_const_eval/src/transform/promote_consts.rs:52:22 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:499 ~ petitset[7fc2]::set::{impl#1}::iter::{constant#0}) ("return type"): bad type [type error] [INFO] [stdout] --> src/set.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl PetitSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:499 ~ petitset[7fc2]::set::{impl#1}::iter::{constant#0}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/set.rs:36:9: 36:25 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/set.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl PetitSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', compiler/rustc_errors/src/lib.rs:1499:13 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7fc94b6ac340 - std::backtrace_rs::backtrace::libunwind::trace::h6176bf60b78d74d6 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 1: 0x7fc94b6ac340 - std::backtrace_rs::backtrace::trace_unsynchronized::h5d22932bd33ba306 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7fc94b6ac340 - std::sys_common::backtrace::_print_fmt::h91ed71259c388db3 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7fc94b6ac340 - ::fmt::hde15bb8cbf7665da [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7fc94b7070fe - core::fmt::write::h9761a5598d7cc269 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/core/src/fmt/mod.rs:1202:17 [INFO] [stderr] 5: 0x7fc94b69cd15 - std::io::Write::write_fmt::h26becaaa3f318825 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/io/mod.rs:1679:15 [INFO] [stderr] 6: 0x7fc94b6aefd3 - std::sys_common::backtrace::_print::hc10fefd61e366dd2 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7fc94b6aefd3 - std::sys_common::backtrace::print::hd8c846072a354bbf [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7fc94b6aefd3 - std::panicking::default_hook::{{closure}}::haa135eeb0555cd8c [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7fc94b6aecbf - std::panicking::default_hook::h962e5f45e4e85804 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:314:9 [INFO] [stdout] error: internal compiler error: no errors encountered even though `delay_span_bug` issued [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected const parent in type_of(): Ty(Ty { hir_id: HirId { owner: DefId(0:37 ~ petitset[857b]::map::{impl#1}::iter), local_id: 29 }, kind: OpaqueDef(ItemId { def_id: DefId(0:38 ~ petitset[857b]::map::{impl#1}::iter::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:37 ~ petitset[857b]::map::{impl#1}::iter), local_id: 24 }, span: src/map.rs:109:48: 109:55 (#0), name: Param(DefId(0:411 ~ petitset[857b]::map::{impl#1}::iter::'_), Fresh) }), Type(Ty { hir_id: HirId { owner: DefId(0:37 ~ petitset[857b]::map::{impl#1}::iter), local_id: 25 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:6: 37:7 (#0), res: Def(TyParam, DefId(0:27 ~ petitset[857b]::map::{impl#1}::K)), segments: [PathSegment { ident: K#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:6: 37:7 (#0) }), Type(Ty { hir_id: HirId { owner: DefId(0:37 ~ petitset[857b]::map::{impl#1}::iter), local_id: 26 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:9: 37:10 (#0), res: Def(TyParam, DefId(0:28 ~ petitset[857b]::map::{impl#1}::V)), segments: [PathSegment { ident: V#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:9: 37:10 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:37 ~ petitset[857b]::map::{impl#1}::iter), local_id: 27 }, body: BodyId { hir_id: HirId { owner: DefId(0:37 ~ petitset[857b]::map::{impl#1}::iter), local_id: 28 } } }, span: src/map.rs:37:12: 37:28 (#0) })]), span: src/map.rs:109:27: 109:56 (#0) }) [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/collect/type_of.rs:479:23 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: TyKind::Error constructed but no error reported [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/check/coercion.rs:176:49 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: `InferCtxt` incorrectly tainted by errors [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_infer/src/infer/mod.rs:1265:27 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected const parent in type_of(): Ty(Ty { hir_id: HirId { owner: DefId(0:40 ~ petitset[857b]::map::{impl#1}::keys), local_id: 28 }, kind: OpaqueDef(ItemId { def_id: DefId(0:41 ~ petitset[857b]::map::{impl#1}::keys::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:40 ~ petitset[857b]::map::{impl#1}::keys), local_id: 23 }, span: src/map.rs:114:48: 114:50 (#0), name: Param(DefId(0:417 ~ petitset[857b]::map::{impl#1}::keys::'_), Fresh) }), Type(Ty { hir_id: HirId { owner: DefId(0:40 ~ petitset[857b]::map::{impl#1}::keys), local_id: 24 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:6: 37:7 (#0), res: Def(TyParam, DefId(0:27 ~ petitset[857b]::map::{impl#1}::K)), segments: [PathSegment { ident: K#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:6: 37:7 (#0) }), Type(Ty { hir_id: HirId { owner: DefId(0:40 ~ petitset[857b]::map::{impl#1}::keys), local_id: 25 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:9: 37:10 (#0), res: Def(TyParam, DefId(0:28 ~ petitset[857b]::map::{impl#1}::V)), segments: [PathSegment { ident: V#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:9: 37:10 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:40 ~ petitset[857b]::map::{impl#1}::keys), local_id: 26 }, body: BodyId { hir_id: HirId { owner: DefId(0:40 ~ petitset[857b]::map::{impl#1}::keys), local_id: 27 } } }, span: src/map.rs:37:12: 37:28 (#0) })]), span: src/map.rs:114:27: 114:51 (#0) }) [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/collect/type_of.rs:479:23 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected const parent in type_of(): Ty(Ty { hir_id: HirId { owner: DefId(0:43 ~ petitset[857b]::map::{impl#1}::values), local_id: 28 }, kind: OpaqueDef(ItemId { def_id: DefId(0:44 ~ petitset[857b]::map::{impl#1}::values::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:43 ~ petitset[857b]::map::{impl#1}::values), local_id: 23 }, span: src/map.rs:121:50: 121:52 (#0), name: Param(DefId(0:423 ~ petitset[857b]::map::{impl#1}::values::'_), Fresh) }), Type(Ty { hir_id: HirId { owner: DefId(0:43 ~ petitset[857b]::map::{impl#1}::values), local_id: 24 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:6: 37:7 (#0), res: Def(TyParam, DefId(0:27 ~ petitset[857b]::map::{impl#1}::K)), segments: [PathSegment { ident: K#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:6: 37:7 (#0) }), Type(Ty { hir_id: HirId { owner: DefId(0:43 ~ petitset[857b]::map::{impl#1}::values), local_id: 25 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:9: 37:10 (#0), res: Def(TyParam, DefId(0:28 ~ petitset[857b]::map::{impl#1}::V)), segments: [PathSegment { ident: V#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:9: 37:10 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:43 ~ petitset[857b]::map::{impl#1}::values), local_id: 26 }, body: BodyId { hir_id: HirId { owner: DefId(0:43 ~ petitset[857b]::map::{impl#1}::values), local_id: 27 } } }, span: src/map.rs:37:12: 37:28 (#0) })]), span: src/map.rs:121:29: 121:53 (#0) }) [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/collect/type_of.rs:479:23 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected const parent in type_of(): Ty(Ty { hir_id: HirId { owner: DefId(0:46 ~ petitset[857b]::map::{impl#1}::values_mut), local_id: 39 }, kind: OpaqueDef(ItemId { def_id: DefId(0:47 ~ petitset[857b]::map::{impl#1}::values_mut::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:46 ~ petitset[857b]::map::{impl#1}::values_mut), local_id: 34 }, span: src/map.rs:128:58: 128:64 (#0), name: Param(DefId(0:429 ~ petitset[857b]::map::{impl#1}::values_mut::'_), Fresh) }), Type(Ty { hir_id: HirId { owner: DefId(0:46 ~ petitset[857b]::map::{impl#1}::values_mut), local_id: 35 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:6: 37:7 (#0), res: Def(TyParam, DefId(0:27 ~ petitset[857b]::map::{impl#1}::K)), segments: [PathSegment { ident: K#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:6: 37:7 (#0) }), Type(Ty { hir_id: HirId { owner: DefId(0:46 ~ petitset[857b]::map::{impl#1}::values_mut), local_id: 36 }, kind: Path(Resolved(None, Path { span: src/map.rs:37:9: 37:10 (#0), res: Def(TyParam, DefId(0:28 ~ petitset[857b]::map::{impl#1}::V)), segments: [PathSegment { ident: V#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/map.rs:37:9: 37:10 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:46 ~ petitset[857b]::map::{impl#1}::values_mut), local_id: 37 }, body: BodyId { hir_id: HirId { owner: DefId(0:46 ~ petitset[857b]::map::{impl#1}::values_mut), local_id: 38 } } }, span: src/map.rs:37:12: 37:28 (#0) })]), span: src/map.rs:128:37: 128:65 (#0) }) [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/collect/type_of.rs:479:23 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected const parent in type_of(): Ty(Ty { hir_id: HirId { owner: DefId(0:159 ~ petitset[857b]::set::{impl#1}::iter), local_id: 28 }, kind: OpaqueDef(ItemId { def_id: DefId(0:160 ~ petitset[857b]::set::{impl#1}::iter::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:159 ~ petitset[857b]::set::{impl#1}::iter), local_id: 24 }, span: src/set.rs:81:48: 81:50 (#0), name: Param(DefId(0:493 ~ petitset[857b]::set::{impl#1}::iter::'_), Fresh) }), Type(Ty { hir_id: HirId { owner: DefId(0:159 ~ petitset[857b]::set::{impl#1}::iter), local_id: 25 }, kind: Path(Resolved(None, Path { span: src/set.rs:36:6: 36:7 (#0), res: Def(TyParam, DefId(0:150 ~ petitset[857b]::set::{impl#1}::T)), segments: [PathSegment { ident: T#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/set.rs:36:6: 36:7 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:159 ~ petitset[857b]::set::{impl#1}::iter), local_id: 26 }, body: BodyId { hir_id: HirId { owner: DefId(0:159 ~ petitset[857b]::set::{impl#1}::iter), local_id: 27 } } }, span: src/set.rs:36:9: 36:25 (#0) })]), span: src/set.rs:81:27: 81:51 (#0) }) [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/collect/type_of.rs:479:23 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: TyKind::Error constructed but no error reported [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_mir_build/src/build/mod.rs:759:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: mir_const_qualif: MIR had errors [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_mir_transform/src/lib.rs:190:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: PromoteTemps: MIR had errors [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_const_eval/src/transform/promote_consts.rs:52:22 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:416 ~ petitset[857b]::map::{impl#1}::iter::{constant#0}) ("return type"): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: TyKind::Error constructed but no error reported [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:765:20 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:416 ~ petitset[857b]::map::{impl#1}::iter::{constant#0}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/map.rs:37:12: 37:28 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:422 ~ petitset[857b]::map::{impl#1}::keys::{constant#0}) ("return type"): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:422 ~ petitset[857b]::map::{impl#1}::keys::{constant#0}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/map.rs:37:12: 37:28 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:428 ~ petitset[857b]::map::{impl#1}::values::{constant#0}) ("return type"): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:428 ~ petitset[857b]::map::{impl#1}::values::{constant#0}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/map.rs:37:12: 37:28 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:434 ~ petitset[857b]::map::{impl#1}::values_mut::{constant#0}) ("return type"): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:434 ~ petitset[857b]::map::{impl#1}::values_mut::{constant#0}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/map.rs:37:12: 37:28 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PetitMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: mir_const_qualif: MIR had errors [INFO] [stdout] --> src/set.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl PetitSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_mir_transform/src/lib.rs:190:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: PromoteTemps: MIR had errors [INFO] [stdout] --> src/set.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl PetitSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_const_eval/src/transform/promote_consts.rs:52:22 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:497 ~ petitset[857b]::set::{impl#1}::iter::{constant#0}) ("return type"): bad type [type error] [INFO] [stdout] --> src/set.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl PetitSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:497 ~ petitset[857b]::set::{impl#1}::iter::{constant#0}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/set.rs:36:9: 36:25 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/set.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl PetitSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', compiler/rustc_errors/src/lib.rs:1499:13 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7fe4153e4340 - std::backtrace_rs::backtrace::libunwind::trace::h6176bf60b78d74d6 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 1: 0x7fe4153e4340 - std::backtrace_rs::backtrace::trace_unsynchronized::h5d22932bd33ba306 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7fe4153e4340 - std::sys_common::backtrace::_print_fmt::h91ed71259c388db3 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7fe4153e4340 - ::fmt::hde15bb8cbf7665da [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7fe41543f0fe - core::fmt::write::h9761a5598d7cc269 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/core/src/fmt/mod.rs:1202:17 [INFO] [stderr] 5: 0x7fe4153d4d15 - std::io::Write::write_fmt::h26becaaa3f318825 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/io/mod.rs:1679:15 [INFO] [stderr] 6: 0x7fe4153e6fd3 - std::sys_common::backtrace::_print::hc10fefd61e366dd2 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7fe4153e6fd3 - std::sys_common::backtrace::print::hd8c846072a354bbf [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7fe4153e6fd3 - std::panicking::default_hook::{{closure}}::haa135eeb0555cd8c [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7fe4153e6cbf - std::panicking::default_hook::h962e5f45e4e85804 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7fc94df47244 - rustc_driver[37844947c1c4e730]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7fc94b6af80d - std::panicking::rust_panic_with_hook::h26097f8ccbe406f2 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7fc94f036f41 - std[17c996d5f6362125]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7fc94f036a76 - std[17c996d5f6362125]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7fc94f036736 - std[17c996d5f6362125]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7fc94f038fd6 - std[17c996d5f6362125]::panic::panic_any:: [INFO] [stderr] 10: 0x7fe417c7f244 - rustc_driver[37844947c1c4e730]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7fe4153e780d - std::panicking::rust_panic_with_hook::h26097f8ccbe406f2 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:702:17 [INFO] [stderr] 16: 0x7fc94da0def8 - ::drop [INFO] [stderr] 17: 0x7fc94cd78198 - core[fae64f17691dff84]::ptr::drop_in_place:: [INFO] [stderr] 18: 0x7fc94cd69aa8 - as core[fae64f17691dff84]::ops::drop::Drop>::drop [INFO] [stderr] 19: 0x7fc94cd68e5d - core[fae64f17691dff84]::ptr::drop_in_place:: [INFO] [stderr] 12: 0x7fe418d6ef41 - std[17c996d5f6362125]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 20: 0x7fc94cd685d9 - rustc_span[b6ed302232182e4]::with_source_map::, rustc_interface[5b9d04fc58ee7720]::interface::create_compiler_and_run, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#1}> [INFO] [stderr] 21: 0x7fc94cd67e12 - rustc_interface[5b9d04fc58ee7720]::interface::create_compiler_and_run::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}> [INFO] [stderr] 13: 0x7fe418d6ea76 - std[17c996d5f6362125]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7fe418d6e736 - std[17c996d5f6362125]::panicking::begin_panic:: [INFO] [stderr] 22: 0x7fc94cd66a61 - >::set::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>> [INFO] [stderr] 15: 0x7fe418d70fd6 - std[17c996d5f6362125]::panic::panic_any:: [INFO] [stderr] 16: 0x7fe417745ef8 - ::drop [INFO] [stderr] 17: 0x7fe416ab0198 - core[fae64f17691dff84]::ptr::drop_in_place:: [INFO] [stderr] 23: 0x7fc94cd6674f - std[17c996d5f6362125]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>> [INFO] [stderr] 18: 0x7fe416aa1aa8 - as core[fae64f17691dff84]::ops::drop::Drop>::drop [INFO] [stderr] 19: 0x7fe416aa0e5d - core[fae64f17691dff84]::ptr::drop_in_place:: [INFO] [stderr] 24: 0x7fc94dd65629 - <::spawn_unchecked_, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#1} as core[fae64f17691dff84]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 25: 0x7fc94b6b9663 - as core::ops::function::FnOnce>::call_once::hbcba3d5baddb20d1 [INFO] [stderr] 20: 0x7fe416aa05d9 - rustc_span[b6ed302232182e4]::with_source_map::, rustc_interface[5b9d04fc58ee7720]::interface::create_compiler_and_run, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#1}> [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 26: 0x7fc94b6b9663 - as core::ops::function::FnOnce>::call_once::hcb40027853eebed4 [INFO] [stderr] 21: 0x7fe416a9fe12 - rustc_interface[5b9d04fc58ee7720]::interface::create_compiler_and_run::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}> [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 22: 0x7fe416a9ea61 - >::set::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>> [INFO] [stderr] 23: 0x7fe416a9e74f - std[17c996d5f6362125]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>> [INFO] [stderr] 27: 0x7fc94b6b9663 - std::sys::unix::thread::Thread::new::thread_start::habdd10d71164d0ca [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 28: 0x7fc94b569609 - start_thread [INFO] [stderr] 29: 0x7fc94b48c133 - clone [INFO] [stderr] 30: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.65.0-nightly (c3491e219 2022-09-03) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] 24: 0x7fe417a9d629 - <::spawn_unchecked_, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#1} as core[fae64f17691dff84]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] end of query stack [INFO] [stderr] 25: 0x7fe4153f1663 - as core::ops::function::FnOnce>::call_once::hbcba3d5baddb20d1 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 26: 0x7fe4153f1663 - as core::ops::function::FnOnce>::call_once::hcb40027853eebed4 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 27: 0x7fe4153f1663 - std::sys::unix::thread::Thread::new::thread_start::habdd10d71164d0ca [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 28: 0x7fe4152a1609 - start_thread [INFO] [stderr] 29: 0x7fe4151c4133 - clone [INFO] [stderr] 30: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.65.0-nightly (c3491e219 2022-09-03) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `petitset` [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `petitset` [INFO] running `Command { std: "docker" "inspect" "56ec26c0ae3b5cb7bcd84a6d2618a3a4975a12c7ba400919450ad7c4fbcdd950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ec26c0ae3b5cb7bcd84a6d2618a3a4975a12c7ba400919450ad7c4fbcdd950", kill_on_drop: false }` [INFO] [stdout] 56ec26c0ae3b5cb7bcd84a6d2618a3a4975a12c7ba400919450ad7c4fbcdd950