Skip to content

Compilor error: Found unstable fingerprints for mir_built(107d02763c032967-75889f1f088391fa) #117665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rafael-patronilo opened this issue Nov 7, 2023 · 3 comments
Labels
A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@rafael-patronilo
Copy link

rafael-patronilo commented Nov 7, 2023

Code (WIP)

#[test]
    fn test_run_server() {
        let addr = "localhost:8080";
        let server = thread::spawn(move || run_server(addr.to_string())); //commenting this line removes the error
        let mut stream = TcpStream::connect(addr).expect("Failed to connect to server");
        let mut reader = BufReader::new(stream.try_clone().unwrap());
        stream.write_all("[Request Translate ATGCGTTGA]\n".as_bytes()).expect("Failed to send request");
        stream.flush().expect("Failed to flush stream");
        let mut buffer = String::new();
        reader.read_line(&mut buffer).expect("Failed to read response");
        assert_eq!(buffer, "[Response Translate MetGlySTO true]\n");
    }

The error is caused when I do cargo test. Removing the snippet above removes the error. This snippet is found at path src/server/mod.rs in mod crate::server::tests lines 53 to 63. Commenting the 3rd line also removes the error

Meta

rustc --version --verbose:

rustc 1.66.1 (90743e729 2023-01-10) (built from a source tarball)
binary: rustc
commit-hash: 90743e7298aca107ddaa0c202a4d3604e29bfeb6
commit-date: 2023-01-10
host: x86_64-unknown-linux-gnu
release: 1.66.1
LLVM version: 15.0.7

I'm using an Ubuntu WSL environment if that is relevant:
wsl --version

WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.19045.3570

uname -a

Linux VAZ-XRPATRONI 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Error output

error: internal compiler error: encountered incremental compilation error with mir_built(107d02763c032967-75889f1f088391fa)
  |
  = help: This is a known issue with the compiler. Run `cargo clean -p pclt_rust_project` or `cargo clean` to allow your project to compile
  = note: Please follow the instructions below to create a bug report with the provided information
  = note: See <https://github.com/rust-lang/rust/issues/84970> for more information

thread 'rustc' panicked at 'Found unstable fingerprints for mir_built(107d02763c032967-75889f1f088391fa): Steal { value: RwLock(RefCell 
{ value: Some(Body { basic_blocks: BasicBlocks { basic_blocks: [BasicBlockData { statements: [StorageLive(_2), StorageLive(_3), StorageLive(_4), StorageLive(_5), StorageLive(_6), StorageLive(_7), StorageLive(_8), _8 = [const "Starting server on ", const "\n"], _7 = &_8, _6 = &(*_7), _5 = move _6 as &[&str] (Pointer(Unsize)), StorageDead(_6), StorageLive(_9), StorageLive(_10), StorageLive(_11), StorageLive(_12), StorageLive(_13), StorageLive(_14), StorageLive(_15), _15 = &_1, _14 = &(*_15)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:38:39: 38:43 (#37), scope: scope[0] }, kind: _13 = ArgumentV1::<'_>::new_display::<String>(move _14) -> 
[return: bb1, unwind: bb61] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_14), _12 = [move _13], StorageDead(_13), _11 = &_12, _10 = &(*_11), _9 = move _10 as &[std::fmt::ArgumentV1<'_>] (Pointer(Unsize)), StorageDead(_10)], terminator: Some(Terminator { source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#37), 
scope: scope[0] }, kind: _4 = Arguments::<'_>::new_v1(move _5, move _9) -> [return: bb2, unwind: bb61] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_9), StorageDead(_5)], terminator: Some(Terminator { source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:9: 136:62 (#36), scope: scope[0] }, kind: _3 = _print(move _4) -> [return: bb3, unwind: bb61] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_4), StorageDead(_15), StorageDead(_12), StorageDead(_11), StorageDead(_8), StorageDead(_7), StorageDead(_3), _2 = const (), StorageDead(_2), StorageLive(_16), StorageLive(_17), StorageLive(_18), StorageLive(_19), _19 = move _1], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:20: 39:43 (#0), scope: scope[0] }, kind: _18 = TcpListener::bind::<String>(move _19) -> [return: bb4, unwind: bb60] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_19)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:20: 39:44 (#93), scope: scope[0] }, kind: _17 = <Result<TcpListener, std::io::Error> as Try>::branch(move _18) -> [return: bb5, unwind: bb59] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_18), FakeRead(ForMatchedPlace(None), _17), _20 = discriminant(_17)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:20: 39:44 (#93), scope: scope[0] }, kind: switchInt(move _20) -> [0_isize: bb6, 1_isize: bb7, otherwise: bb8] }), is_cleanup: false }, BasicBlockData { statements: [StorageLive(_24), _24 
= move ((_17 as Continue).0: std::net::TcpListener), _16 = move _24], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#0), scope: scope[0] }, kind: drop(_24) -> [return: bb14, unwind: bb58] }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#94), scope: scope[0] }, kind: falseEdge -> [real: bb9, imaginary: bb6] }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:20: 39:44 (#93), scope: scope[0] }, kind: unreachable }), is_cleanup: false }, 
BasicBlockData { statements: [StorageLive(_21), _21 = move ((_17 as Break).0: std::result::Result<std::convert::Infallible, std::io::Error>), StorageLive(_23), _23 = move _21], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:20: 39:44 (#93), scope: scope[3] }, kind: _0 = <Result<(), std::io::Error> as FromResidual<Result<Infallible, std::io::Error>>>::from_residual(move 
_23) -> [return: bb10, unwind: bb56] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_23)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#94), scope: scope[3] }, kind: goto -> bb46 }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#94), scope: scope[3] }, kind: unreachable }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#94), scope: scope[0] }, kind: drop(_21) -> [return: bb13, unwind: bb58] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_21)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#94), scope: scope[0] }, kind: goto -> bb15 }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_24)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#0), scope: scope[0] }, kind: goto -> bb15 }), is_cleanup: false }, BasicBlockData { statements: [FakeRead(ForLet(None), _16)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:44: 39:45 (#0), scope: scope[0] }, kind: drop(_17) -> [return: bb16, unwind: bb55] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_17), StorageLive(_25), StorageLive(_26), StorageLive(_27), StorageLive(_28), StorageLive(_29), StorageLive(_30), StorageLive(_31), _31 = [const "Server started\n"], _30 = &_31, _29 = &(*_30), _28 = move _29 as &[&str] (Pointer(Unsize)), StorageDead(_29), StorageLive(_32), StorageLive(_33), StorageLive(_34), StorageLive(_35), _35 = [], _34 = &_35, _33 = &(*_34), _32 = move _33 as &[std::fmt::ArgumentV1<'_>] (Pointer(Unsize)), StorageDead(_33)], terminator: Some(Terminator { source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#39), scope: scope[1] }, kind: _27 = Arguments::<'_>::new_v1(move _28, move _32) -> [return: bb17, unwind: bb55] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_32), StorageDead(_28)], terminator: Some(Terminator { source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:9: 136:62 (#38), scope: scope[1] }, kind: _26 = _print(move _27) -> [return: bb18, unwind: bb55] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_27), StorageDead(_35), StorageDead(_34), StorageDead(_31), StorageDead(_30), StorageDead(_26), _25 = const (), StorageDead(_25), StorageLive(_36), StorageLive(_37), StorageLive(_38), StorageLive(_39), _39 = &_16], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#0), scope: scope[1] 
}, kind: _38 = TcpListener::incoming(move _39) -> [return: bb19, unwind: bb55] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_39)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#96), scope: scope[1] }, 
kind: _37 = <std::net::Incoming<'_> as IntoIterator>::into_iter(move _38) -> [return: bb20, unwind: bb55] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_38), FakeRead(ForMatchedPlace(None), _37), StorageLive(_40), _40 = move _37], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:41:5: 45:6 (#95), scope: scope[6] }, kind: goto -> bb21 }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:41:5: 45:6 (#95), 
scope: scope[6] }, kind: falseUnwind -> [real: bb22, cleanup: bb55] }), is_cleanup: false }, BasicBlockData { statements: [StorageLive(_42), StorageLive(_43), StorageLive(_44), StorageLive(_45), _45 = &mut _40, _44 = &mut (*_45)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#96), scope: scope[6] }, kind: _43 = <std::net::Incoming<'_> as Iterator>::next(move _44) -> [return: bb23, unwind: bb55] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_44), FakeRead(ForMatchedPlace(None), _43), _46 = discriminant(_43)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#96), scope: scope[6] }, kind: switchInt(move _46) -> [0_isize: bb24, 1_isize: bb25, otherwise: bb26] }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:41:5: 45:6 (#95), scope: scope[6] 
}, kind: falseEdge -> [real: bb27, imaginary: bb25] }), is_cleanup: false }, BasicBlockData { statements: [StorageLive(_48), _48 = move 
((_43 as Some).0: std::result::Result<std::net::TcpStream, std::io::Error>), FakeRead(ForMatchedPlace(None), _48), _49 = discriminant(_48)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:42:16: 42:26 (#0), scope: scope[8] }, kind: switchInt(move _49) -> [0_isize: bb30, otherwise: bb31] }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#96), scope: scope[6] }, kind: unreachable }), is_cleanup: false }, BasicBlockData { statements: [_36 = const ()], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:41:5: 45:6 (#95), scope: scope[6] }, kind: goto -> bb41 }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:41:5: 45:6 (#95), scope: scope[6] }, kind: unreachable }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:41:37: 41:38 (#96), scope: scope[6] }, kind: goto -> bb39 }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:42:16: 42:26 (#0), scope: scope[8] }, kind: falseEdge -> [real: bb32, imaginary: bb31] }), is_cleanup: false 
}, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:42:29: 42:35 (#0), scope: scope[8] }, kind: goto -> bb35 }), is_cleanup: false }, BasicBlockData { statements: [StorageLive(_50), _50 = move ((_48 as Ok).0: std::net::TcpStream), StorageLive(_51), StorageLive(_52), _52 = [closure@src/server/mod.rs:43:27: 43:34] { stream: move _50 }], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:43:13: 43:57 (#0), scope: scope[8] }, kind: _51 = spawn::<[closure@src/server/mod.rs:43:27: 43:34], ()>(move _52) -> [return: bb33, unwind: bb51] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_52)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:43:57: 43:58 (#0), scope: scope[8] 
}, kind: drop(_51) -> [return: bb34, unwind: bb52] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_51), _42 = const 
()], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:44:9: 44:10 (#0), scope: scope[7] }, kind: drop(_50) -> [return: bb36, unwind: bb53] }), is_cleanup: false }, BasicBlockData { statements: [_42 = const ()], terminator: Some(Terminator { 
source_info: SourceInfo { span: src/server/mod.rs:42:9: 44:10 (#0), scope: scope[7] }, kind: goto -> bb37 }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_50)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:42:9: 44:10 
(#0), scope: scope[7] }, kind: goto -> bb37 }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:45:5: 45:6 (#0), scope: scope[6] }, kind: drop(_48) -> [return: bb38, unwind: bb54] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_48)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:45:5: 45:6 (#0), scope: scope[6] }, kind: goto -> bb39 }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:45:5: 45:6 (#95), scope: scope[6] }, kind: drop(_43) -> [return: bb40, unwind: bb55] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_45), StorageDead(_43), StorageDead(_42), _41 = const ()], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:41:5: 45:6 (#95), scope: scope[6] }, kind: goto 
-> bb21 }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:45:5: 45:6 (#95), scope: scope[6] }, kind: drop(_43) -> [return: bb42, unwind: bb55] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_45), StorageDead(_43), StorageDead(_42), StorageDead(_40)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:45:5: 45:6 (#95), scope: scope[1] }, kind: goto -> bb43 }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_37), StorageDead(_36), StorageLive(_53), _53 = (), _0 = Result::<(), std::io::Error>::Ok(move _53), StorageDead(_53)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:47:1: 47:2 (#0), scope: scope[0] }, kind: drop(_16) -> [return: bb44, unwind: bb61] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_16)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:47:1: 47:2 (#0), scope: scope[0] }, kind: drop(_1) -> [return: bb45, unwind: bb62] }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:47:2: 47:2 (#0), scope: scope[0] }, kind: goto -> bb50 }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#94), scope: scope[0] }, kind: drop(_21) -> [return: bb47, unwind: bb58] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_21)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:44: 39:45 (#0), scope: scope[0] }, kind: drop(_17) -> [return: bb48, unwind: bb61] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_17), StorageDead(_16)], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:47:1: 47:2 (#0), scope: scope[0] }, kind: drop(_1) -> [return: bb49, unwind: bb62] }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:47:2: 47:2 (#0), scope: scope[0] }, kind: 
goto -> bb50 }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:47:2: 47:2 (#0), scope: scope[0] }, kind: return }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:43:56: 43:57 (#0), scope: scope[8] }, kind: drop(_52) -> bb52 }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:44:9: 44:10 (#0), scope: scope[7] }, kind: drop(_50) -> bb53 }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:45:5: 45:6 (#0), scope: scope[6] }, kind: drop(_48) -> bb54 }), is_cleanup: true 
}, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:45:5: 45:6 (#95), scope: scope[6] }, kind: drop(_43) -> bb55 }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:47:1: 47:2 (#0), scope: scope[0] }, kind: drop(_16) -> bb61 }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#93), scope: scope[3] }, kind: drop(_23) -> bb57 }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#94), scope: scope[0] }, kind: drop(_21) -> bb58 }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:44: 39:45 (#0), scope: scope[0] }, kind: drop(_17) -> bb61 }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#93), scope: scope[0] }, kind: drop(_18) -> bb61 }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:39:42: 39:43 (#0), scope: scope[0] }, kind: drop(_19) -> bb61 }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:47:1: 47:2 (#0), scope: scope[0] }, kind: drop(_1) -> bb62 }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: src/server/mod.rs:37:1: 47:2 (#0), scope: scope[0] }, kind: resume }), is_cleanup: true }], predecessor_cache: PredecessorCache { cache: OnceCell(Uninit) }, switch_source_cache: SwitchSourceCache { cache: OnceCell(Uninit) }, is_cyclic: GraphIsCyclicCache { cache: OnceCell(Uninit) }, postorder_cache: PostorderCache { cache: OnceCell(Uninit) } }, phase: Built, pass_count: 1, source: MirSource { instance: Item(WithOptConstParam { did: DefId(0:139 ~ pclt_rust_project[5bff]::server::run_server), const_param_did: None }), promoted: None }, source_scopes: [SourceScopeData { span: src/server/mod.rs:37:1: 47:2 (#0), parent_scope: None, inlined: None, inlined_parent_scope: None, local_data: Set(SourceScopeLocalData { lint_root: HirId { owner: OwnerId { def_id: 
DefId(0:139 ~ pclt_rust_project[5bff]::server::run_server) }, local_id: 0 }, safety: Safe }) }, SourceScopeData { span: src/server/mod.rs:39:5: 47:2 (#0), parent_scope: Some(scope[0]), inlined: None, inlined_parent_scope: None, local_data: Set(SourceScopeLocalData { lint_root: HirId { owner: OwnerId { def_id: DefId(0:139 ~ pclt_rust_project[5bff]::server::run_server) }, local_id: 0 }, safety: Safe }) }, SourceScopeData { span: src/server/mod.rs:39:43: 39:44 (#94), parent_scope: Some(scope[0]), inlined: None, inlined_parent_scope: None, local_data: Set(SourceScopeLocalData { lint_root: HirId { owner: OwnerId { def_id: DefId(0:139 ~ pclt_rust_project[5bff]::server::run_server) }, local_id: 0 }, safety: Safe }) }, SourceScopeData { span: src/server/mod.rs:39:43: 39:44 (#94), parent_scope: Some(scope[2]), inlined: None, inlined_parent_scope: None, local_data: Set(SourceScopeLocalData { lint_root: HirId { owner: OwnerId { def_id: DefId(0:139 ~ pclt_rust_project[5bff]::server::run_server) }, local_id: 58 }, safety: Safe }) }, SourceScopeData { span: src/server/mod.rs:39:20: 39:44 (#0), parent_scope: Some(scope[0]), inlined: None, inlined_parent_scope: None, local_data: Set(SourceScopeLocalData { lint_root: HirId { owner: OwnerId { def_id: DefId(0:139 ~ pclt_rust_project[5bff]::server::run_server) }, local_id: 0 }, safety: Safe }) }, SourceScopeData { span: src/server/mod.rs:39:20: 39:44 (#0), parent_scope: Some(scope[4]), inlined: None, inlined_parent_scope: None, local_data: Set(SourceScopeLocalData { lint_root: HirId { owner: OwnerId { def_id: DefId(0:139 ~ pclt_rust_project[5bff]::server::run_server) }, local_id: 49 }, safety: Safe }) }, SourceScopeData { span: src/server/mod.rs:41:5: 45:6 (#95), parent_scope: Some(scope[1]), inlined: None, 
inlined_parent_scope: None, local_data: Set(SourceScopeLocalData { lint_root: HirId { owner: OwnerId { def_id: DefId(0:139 ~ pclt_rust_project[5bff]::server::run_server) }, local_id: 0 }, safety: Safe }) }, SourceScopeData { span: src/server/mod.rs:41:39: 45:6 (#0), parent_scope: Some(scope[6]), inlined: None, inlined_parent_scope: None, local_data: Set(SourceScopeLocalData { lint_root: HirId { owner: OwnerId { def_id: DefId(0:139 ~ pclt_rust_project[5bff]::server::run_server) }, local_id: 0 }, safety: Safe }) }, SourceScopeData { span: src/server/mod.rs:42:36: 44:10 (#0), parent_scope: Some(scope[7]), inlined: None, inlined_parent_scope: None, local_data: Set(SourceScopeLocalData { lint_root: HirId { owner: OwnerId { def_id: DefId(0:139 ~ pclt_rust_project[5bff]::server::run_server) }, local_id: 0 }, safety: Safe }) }], generator: None, local_decls: [LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: std::result::Result<(), std::io::Error>, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:37:37: 37:51 (#0), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: Some(User(Set(Var(VarBindingForm { binding_mode: BindByValue(Not), opt_ty_info: Some(src/server/mod.rs:37:26: 37:32 (#0)), opt_match_place: Some((None, src/server/mod.rs:37:19: 37:23 (#0))), pat_span: src/server/mod.rs:37:19: 37:23 (#0) })))), internal: false, is_block_tail: None, ty: std::string::String, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:37:19: 37:23 (#0), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: (), user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:135:23: 137:6 (#36), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: (), 
user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:9: 136:62 (#36), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: std::fmt::Arguments<'_>, user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#37), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: &[&str], user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:38:14: 38:37 (#0), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: &[&str; 2], user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:38:14: 38:37 (#0), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: &[&str; 2], user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:38:14: 38:37 (#0), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: [&str; 2], user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:38:14: 38:37 (#0), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: &[std::fmt::ArgumentV1<'_>], user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#37), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: &[std::fmt::ArgumentV1<'_>; 1], user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#37), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, 
is_block_tail: None, ty: &[std::fmt::ArgumentV1<'_>; 1], user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#37), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: [std::fmt::ArgumentV1<'_>; 1], user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#37), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: std::fmt::ArgumentV1<'_>, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:38:39: 38:43 (#37), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: &std::string::String, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:38:39: 38:43 (#37), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: &std::string::String, user_ty: None, source_info: 
SourceInfo { span: src/server/mod.rs:38:39: 38:43 (#37), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: Some(User(Set(Var(VarBindingForm { binding_mode: BindByValue(Not), opt_ty_info: None, opt_match_place: Some((None, src/server/mod.rs:39:20: 39:44 (#0))), pat_span: src/server/mod.rs:39:9: 39:17 (#0) })))), internal: false, is_block_tail: None, ty: std::net::TcpListener, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:39:9: 39:17 (#0), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: std::ops::ControlFlow<std::result::Result<std::convert::Infallible, std::io::Error>, std::net::TcpListener>, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:39:20: 39:44 (#93), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: std::result::Result<std::net::TcpListener, std::io::Error>, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:39:20: 39:43 (#0), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: std::string::String, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:39:38: 39:42 (#0), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: true, is_block_tail: None, ty: isize, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#94), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: Some(User(Set(Var(VarBindingForm { binding_mode: BindByValue(Not), opt_ty_info: None, opt_match_place: Some((Some(_17), src/server/mod.rs:39:20: 39:44 (#93))), pat_span: src/server/mod.rs:39:43: 39:44 (#94) })))), internal: false, is_block_tail: None, ty: std::result::Result<std::convert::Infallible, std::io::Error>, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#94), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: !, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#94), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: std::result::Result<std::convert::Infallible, std::io::Error>, user_ty: None, source_info: 
SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#94), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: Some(User(Set(Var(VarBindingForm { binding_mode: BindByValue(Not), opt_ty_info: None, opt_match_place: Some((Some(_17), src/server/mod.rs:39:20: 39:44 (#93))), pat_span: src/server/mod.rs:39:20: 39:44 (#93) })))), internal: false, is_block_tail: None, ty: std::net::TcpListener, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:39:20: 39:44 (#0), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: 
None, internal: false, is_block_tail: None, ty: (), user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:135:23: 137:6 (#38), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: (), user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:9: 136:62 (#38), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: std::fmt::Arguments<'_>, user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#39), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: &[&str], user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:40:14: 40:30 (#0), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: &[&str; 1], user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:40:14: 40:30 (#0), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: 
false, is_block_tail: None, ty: &[&str; 1], user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:40:14: 40:30 (#0), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: [&str; 1], user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:40:14: 40:30 (#0), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: &[std::fmt::ArgumentV1<'_>], user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#39), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: 
None, internal: false, is_block_tail: None, ty: &[std::fmt::ArgumentV1<'_>; 0], user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#39), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: &[std::fmt::ArgumentV1<'_>; 0], user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#39), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: [std::fmt::ArgumentV1<'_>; 0], user_ty: None, source_info: SourceInfo { span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#39), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: (), user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:41:5: 45:6 (#95), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: std::net::Incoming<'_>, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#96), scope: 
scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: std::net::Incoming<'_>, user_ty: 
None, source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#0), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: &std::net::TcpListener, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#0), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Some(User(Set(Var(VarBindingForm { binding_mode: BindByValue(Mut), opt_ty_info: None, opt_match_place: Some((Some(_37), src/server/mod.rs:41:19: 41:38 (#96))), pat_span: src/server/mod.rs:41:19: 41:38 (#96) })))), internal: false, is_block_tail: None, ty: std::net::Incoming<'_>, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#96), scope: scope[1] } }, LocalDecl { mutability: Mut, local_info: None, internal: true, is_block_tail: None, ty: (), user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:37:1: 47:2 (#0), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: (), user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#96), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: 
std::option::Option<std::result::Result<std::net::TcpStream, std::io::Error>>, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#96), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: &mut std::net::Incoming<'_>, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#96), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: &mut std::net::Incoming<'_>, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#96), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, 
internal: true, is_block_tail: None, ty: isize, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:41:5: 45:6 (#95), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: !, user_ty: None, source_info: 
SourceInfo { span: src/server/mod.rs:41:5: 45:6 (#95), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: Some(User(Set(Var(VarBindingForm { binding_mode: BindByValue(Not), opt_ty_info: None, opt_match_place: Some((Some(_43), src/server/mod.rs:41:19: 41:38 (#96))), pat_span: src/server/mod.rs:41:9: 41:15 (#97) })))), internal: false, is_block_tail: None, ty: std::result::Result<std::net::TcpStream, std::io::Error>, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:41:9: 41:15 (#0), scope: scope[6] } }, LocalDecl 
{ mutability: Mut, local_info: None, internal: true, is_block_tail: None, ty: isize, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:42:16: 42:26 (#0), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: Some(User(Set(Var(VarBindingForm { binding_mode: BindByValue(Not), opt_ty_info: None, opt_match_place: Some((Some(_48), src/server/mod.rs:42:29: 42:35 (#0))), pat_span: src/server/mod.rs:42:16: 42:26 (#0) })))), internal: false, is_block_tail: None, ty: std::net::TcpStream, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:42:19: 42:25 (#0), scope: scope[8] } }, LocalDecl { mutability: Not, local_info: None, internal: false, is_block_tail: None, ty: std::thread::JoinHandle<()>, user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:43:13: 43:57 (#0), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [closure@src/server/mod.rs:43:27: 43:34], user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:43:27: 43:56 (#0), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Some(AggregateTemp), internal: false, is_block_tail: Some(BlockTailInfo { tail_result_is_ignored: false, span: src/server/mod.rs:46:5: 46:11 (#0) }), ty: (), user_ty: None, source_info: SourceInfo { span: src/server/mod.rs:46:8: 46:10 (#0), scope: scope[0] } }], user_type_annotations: [CanonicalUserTypeAnnotation { user_ty: Canonical { max_universe: U0, variables: [CanonicalVarInfo 
{ kind: Region(U0) }, CanonicalVarInfo { kind: Region(U0) }], value: TypeOf(DefId(2:10515 ~ core[6b6a]::fmt::{impl#4}::new_v1), UserSubsts { substs: [ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrAnon(0) })], user_self_ty: Some(UserSelfTy { impl_def_id: DefId(2:10513 ~ core[6b6a]::fmt::{impl#4}), self_ty: std::fmt::Arguments<'_> }) }) }, span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#37), inferred_ty: fn(&[&'static str], &[std::fmt::ArgumentV1<'_>]) -> std::fmt::Arguments<'_> {std::fmt::Arguments::<'_>::new_v1} }, CanonicalUserTypeAnnotation { user_ty: Canonical { max_universe: U0, variables: [CanonicalVarInfo { kind: Region(U0) }, CanonicalVarInfo { kind: Ty(General(U0)) }, CanonicalVarInfo { kind: Region(U0) }], value: TypeOf(DefId(2:52252 ~ core[6b6a]::fmt::{impl#3}::new_display), UserSubsts { substs: [ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrAnon(0) 
}), ^1], user_self_ty: Some(UserSelfTy { impl_def_id: DefId(2:10506 ~ core[6b6a]::fmt::{impl#3}), self_ty: std::fmt::ArgumentV1<'_> }) }) }, span: src/server/mod.rs:38:39: 38:43 (#37), inferred_ty: for<'b> fn(&'b std::string::String) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::<'_>::new_display::<std::string::String>} }, CanonicalUserTypeAnnotation { user_ty: Canonical { max_universe: U0, variables: [CanonicalVarInfo { kind: Ty(General(U0)) }], value: TypeOf(DefId(1:5243 ~ std[01f8]::net::tcp::{impl#9}::bind), UserSubsts { substs: 
[^0], user_self_ty: Some(UserSelfTy { impl_def_id: DefId(1:5242 ~ std[01f8]::net::tcp::{impl#9}), self_ty: std::net::TcpListener }) }) }, span: src/server/mod.rs:39:20: 39:37 (#0), inferred_ty: fn(std::string::String) -> std::result::Result<std::net::TcpListener, std::io::Error> {std::net::TcpListener::bind::<std::string::String>} }, CanonicalUserTypeAnnotation { user_ty: Canonical { max_universe: U0, variables: [CanonicalVarInfo { kind: Region(U0) }, CanonicalVarInfo { kind: Region(U0) }], value: TypeOf(DefId(2:10515 ~ core[6b6a]::fmt::{impl#4}::new_v1), UserSubsts { substs: [ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrAnon(0) })], user_self_ty: Some(UserSelfTy { impl_def_id: DefId(2:10513 ~ core[6b6a]::fmt::{impl#4}), self_ty: std::fmt::Arguments<'_> }) }) }, span: /build/rustc-v6rcRM/rustc-1.66.1+dfsg0ubuntu1~llvm/library/std/src/macros.rs:136:28: 136:61 (#39), inferred_ty: fn(&[&'static str], &[std::fmt::ArgumentV1<'_>]) -> std::fmt::Arguments<'_> {std::fmt::Arguments::<'_>::new_v1} }], arg_count: 1, spread_arg: None, var_debug_info: [VarDebugInfo { name: "addr", source_info: SourceInfo { span: src/server/mod.rs:37:19: 37:23 (#0), scope: scope[0] }, value: _1 }, VarDebugInfo { name: "listener", source_info: SourceInfo { span: src/server/mod.rs:39:9: 39:17 (#0), scope: scope[1] }, value: _16 }, VarDebugInfo { name: "residual", source_info: SourceInfo { span: src/server/mod.rs:39:43: 39:44 (#94), scope: scope[2] }, value: _21 }, VarDebugInfo { name: "val", source_info: SourceInfo { span: src/server/mod.rs:39:20: 39:44 (#0), scope: scope[4] }, value: _24 }, VarDebugInfo { name: "iter", source_info: SourceInfo { span: src/server/mod.rs:41:19: 41:38 (#96), scope: scope[6] }, value: _40 }, VarDebugInfo { name: "stream", source_info: SourceInfo { span: src/server/mod.rs:41:9: 41:15 (#0), scope: scope[7] }, value: _48 }, VarDebugInfo { name: "stream", source_info: SourceInfo { span: src/server/mod.rs:42:19: 42:25 (#0), scope: scope[8] }, value: _50 }], span: src/server/mod.rs:37:1: 47:2 (#0), 
required_consts: [], is_polymorphic: false, tainted_by_errors: None }) }) }', compiler/rustc_query_system/src/query/plumbing.rs:658:9   
stack backtrace: <-- I moved it the correct section of the bug report -->

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

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
note: rustc 1.66.1 (90743e729 2023-01-10) (built from a source tarball) running on x86_64-unknown-linux-gnu

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental=[REDACTED]

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [mir_built] building MIR for `server::run_server`
#1 [mir_const] preparing `server::run_server` for borrow checking
#2 [mir_promoted] processing MIR for `server::run_server`
#3 [mir_borrowck] borrow-checking `server::run_server`
#4 [mir_drops_elaborated_and_const_checked] elaborating drops for `server::run_server`
#5 [optimized_mir] optimizing MIR for `server::run_server`
#6 [collect_and_partition_mono_items] collect_and_partition_mono_items
end of query stack
warning: `pclt_rust_project` (lib test) generated 12 warnings (6 duplicates)
error: could not compile `pclt_rust_project` due to previous error; 12 warnings emitted
warning: build failed, waiting for other jobs to finish...
warning: `pclt_rust_project` (lib) generated 12 warnings (5 duplicates)
Backtrace

stack backtrace:
   0:     0x7f2d8862d0ff - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h7b2be2009a6bcba2
   1:     0x7f2d88696e4e - core::fmt::write::hccee7882499b620f
   2:     0x7f2d885f49d5 - <unknown>
   3:     0x7f2d8862ceb5 - <unknown>
   4:     0x7f2d8860996f - <unknown>
   5:     0x7f2d88609628 - std::panicking::default_hook::h262aef5e4abfc826
   6:     0x7f2d8936be37 - <unknown>
   7:     0x7f2d8860a0ec - std::panicking::rust_panic_with_hook::hedb8a8e4067bf251
   8:     0x7f2d8862d457 - <unknown>
   9:     0x7f2d8862d24c - <unknown>
  10:     0x7f2d88609c62 - rust_begin_unwind
  11:     0x7f2d885cf8e3 - core::panicking::panic_fmt::h1688e859668ba1d0
  12:     0x7f2d891f96ff - rustc_query_system[b42cae1efe1ae76f]::query::plumbing::incremental_verify_ich_cold
  13:     0x7f2d8ddf2b1d - <unknown>
  14:     0x7f2d8de0f83e - <unknown>
  15:     0x7f2d8dd32b20 - <unknown>
  16:     0x7f2d8de54ece - <unknown>
  17:     0x7f2d8da3f256 - <unknown>
  18:     0x7f2d8cdf2afc - <unknown>
  19:     0x7f2d8da03806 - <unknown>
  20:     0x7f2d8de0f816 - <unknown>
  21:     0x7f2d8dd32b20 - <unknown>
  22:     0x7f2d8de54ff1 - <unknown>
  23:     0x7f2d8da3f286 - <unknown>
  24:     0x7f2d8cdf37bf - <unknown>
  25:     0x7f2d8da038b6 - <unknown>
  26:     0x7f2d8de0fbb9 - <unknown>
  27:     0x7f2d8dd33c46 - <unknown>
  28:     0x7f2d8de423af - <unknown>
  29:     0x7f2d8da3f3f6 - <unknown>
  30:     0x7f2d8d52fcc8 - <unknown>
  31:     0x7f2d8d510ee3 - <unknown>
  32:     0x7f2d8de1a71d - <unknown>
  33:     0x7f2d8dd6688e - <unknown>
  34:     0x7f2d8de4214b - <unknown>
  35:     0x7f2d8ec38398 - <rustc_middle[10db137a00b54251]::ty::context::TyCtxt>::mir_borrowck_opt_const_arg
  36:     0x7f2d8cdf4ae7 - <unknown>
  37:     0x7f2d8d9fcbe3 - <unknown>
  38:     0x7f2d8db67a4f - <unknown>
  39:     0x7f2d8dd33370 - <unknown>
  40:     0x7f2d8de531b1 - <unknown>
  41:     0x7f2d8da3f386 - <unknown>
  42:     0x7f2d8cdf5c7f - <unknown>
  43:     0x7f2d8db940eb - <unknown>
  44:     0x7f2d8dd9bcce - <unknown>
  45:     0x7f2d8de42d5c - <unknown>
  46:     0x7f2d8ec56168 - <rustc_middle[10db137a00b54251]::ty::context::TyCtxt>::instance_mir
  47:     0x7f2d8cc93a18 - <unknown>
  48:     0x7f2d8cc91d66 - <unknown>
  49:     0x7f2d8cc92369 - <unknown>
  50:     0x7f2d8cc92369 - <unknown>
  51:     0x7f2d8cc92369 - <unknown>
  52:     0x7f2d8cc92369 - <unknown>
  53:     0x7f2d8cc92369 - <unknown>
  54:     0x7f2d8cc92369 - <unknown>
  55:     0x7f2d8cc92369 - <unknown>
  56:     0x7f2d8cc92369 - <unknown>
  57:     0x7f2d8cc92369 - <unknown>
  58:     0x7f2d8cc92369 - <unknown>
  59:     0x7f2d8cc92369 - <unknown>
  60:     0x7f2d8cc92369 - <unknown>
  61:     0x7f2d8cc92369 - <unknown>
  62:     0x7f2d8cc92369 - <unknown>
  63:     0x7f2d8cc92369 - <unknown>
  64:     0x7f2d8cc92369 - <unknown>
  65:     0x7f2d8cc9c124 - <unknown>
  66:     0x7f2d8ccb778a - <unknown>
  67:     0x7f2d8cc8fc5d - <unknown>
  68:     0x7f2d8cca03da - <unknown>
  69:     0x7f2d8dbbc3c2 - <unknown>
  70:     0x7f2d8ddef739 - <unknown>
  71:     0x7f2d8de526e2 - <unknown>
  72:     0x7f2d8da40a6b - <unknown>
  73:     0x7f2d8955f25e - <unknown>
  74:     0x7f2d8960b281 - <rustc_codegen_llvm[3d6734de2bb279d]::LlvmCodegenBackend as rustc_codegen_ssa[a07013d33e5ef3f6]::traits::backend::CodegenBackend>::codegen_crate
  75:     0x7f2d89415a2b - <unknown>
  76:     0x7f2d8943d036 - <unknown>
  77:     0x7f2d89412d9b - <rustc_interface[142f5ff9fb05f6e0]::queries::Queries>::ongoing_codegen
  78:     0x7f2d8933dde5 - <unknown>
  79:     0x7f2d892cfe22 - <unknown>
  80:     0x7f2d8932c4a8 - <unknown>
  81:     0x7f2d892f31c0 - <unknown>
  82:     0x7f2d892d65d4 - <unknown>
  83:     0x7f2d88636333 - <unknown>
  84:     0x7f2d88351609 - start_thread
  85:     0x7f2d88491133 - clone
  86:                0x0 - <unknown>

@rafael-patronilo rafael-patronilo added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 7, 2023
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Nov 7, 2023
@rafael-patronilo
Copy link
Author

Update: After trying to locate the cause of the error, I no longer get this error, although the code should be the same.

@Jules-Bertholet
Copy link
Contributor

@rustbot label A-incr-comp

@rustbot rustbot added the A-incr-comp Area: Incremental compilation label Nov 7, 2023
@lqd
Copy link
Member

lqd commented Nov 7, 2023

It's also possible that this has been fixed since 1.66.1 / 2023-01-10.

@saethlin saethlin removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants