[INFO] fetching crate endbasic-repl 0.9.0... [INFO] building endbasic-repl-0.9.0 against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] extracting crate endbasic-repl 0.9.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate endbasic-repl 0.9.0 on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate endbasic-repl 0.9.0 [INFO] finished tweaking crates.io crate endbasic-repl 0.9.0 [INFO] tweaked toml for crates.io crate endbasic-repl 0.9.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19a9157344bafc2560738ccf20edab69aa80f92217f6a2224c34d2ef8c6ee553 [INFO] running `Command { std: "docker" "start" "-a" "19a9157344bafc2560738ccf20edab69aa80f92217f6a2224c34d2ef8c6ee553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19a9157344bafc2560738ccf20edab69aa80f92217f6a2224c34d2ef8c6ee553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19a9157344bafc2560738ccf20edab69aa80f92217f6a2224c34d2ef8c6ee553", kill_on_drop: false }` [INFO] [stdout] 19a9157344bafc2560738ccf20edab69aa80f92217f6a2224c34d2ef8c6ee553 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36670f9fe6f83cc1b18c3ba67f1eabcb59096a979eacce59e7ee2e22dde77661 [INFO] running `Command { std: "docker" "start" "-a" "36670f9fe6f83cc1b18c3ba67f1eabcb59096a979eacce59e7ee2e22dde77661", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling endbasic-core v0.9.0 [INFO] [stderr] Compiling endbasic-std v0.9.0 [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:760:13: Broken MIR: generator contains type &mut String in MIR, but typeck only knows about {ResumeTy, (), &PrintCommand, &[(Option, ArgSep)], &mut Machine, String, std::slice::Iter<(Option, ArgSep)>, Option<&(Option, ArgSep)>, !, &(Option, ArgSep), (Option, ArgSep), Option<&Expr>, &Expr, bool, std::pin::Pin>>>, Result, ControlFlow, Value>, &Value, Value, &str, &String} and [&console::cmds::PrintCommand, &[(std::option::Option, endbasic_core::ast::ArgSep)], &mut endbasic_core::exec::Machine] [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/endbasic-std-0.9.0/src/console/cmds.rs:406:99 [INFO] [stdout] | [INFO] [stdout] 406 | async fn exec(&self, args: &[(Option, ArgSep)], machine: &mut Machine) -> CommandResult { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 407 | | let mut text = String::new(); [INFO] [stdout] 408 | | for arg in args.iter() { [INFO] [stdout] 409 | | if let Some(expr) = arg.0.as_ref() { [INFO] [stdout] ... | [INFO] [stdout] 424 | | Ok(()) [INFO] [stdout] 425 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/compiler/rustc_errors/src/lib.rs:1398:9 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f86f2117210 - std::backtrace_rs::backtrace::libunwind::trace::h0635bbcc15f1a527 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 1: 0x7f86f2117210 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f139649c4717994 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f86f2117210 - std::sys_common::backtrace::_print_fmt::h1bfd64239328f990 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7f86f2117210 - ::fmt::h0228dc1410a56233 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7f86f217202e - core::fmt::write::hceb37e40129b2ef6 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/core/src/fmt/mod.rs:1202:17 [INFO] [stderr] 5: 0x7f86f2107ad5 - std::io::Write::write_fmt::h7aef09b2f8dd6912 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/io/mod.rs:1679:15 [INFO] [stderr] 6: 0x7f86f2119e63 - std::sys_common::backtrace::_print::h9317a39a27ffc158 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7f86f2119e63 - std::sys_common::backtrace::print::h3f862bf30220d547 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7f86f2119e63 - std::panicking::default_hook::{{closure}}::h5f1809c5cfd4c61f [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7f86f2119b4f - std::panicking::default_hook::h48ae03b43c4da387 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7f86f4992461 - >::call_once::{shim:vtable#0} [INFO] [stderr] 11: 0x7f86f211a69d - std::panicking::rust_panic_with_hook::h064155defabdfb6a [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7f86f4bf6651 - std[2aca39d6cbfe9e59]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7f86f4bf1796 - std[2aca39d6cbfe9e59]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7f86f4bf0b46 - std[2aca39d6cbfe9e59]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7f86f4c39be6 - std[2aca39d6cbfe9e59]::panic::panic_any:: [INFO] [stderr] 16: 0x7f86f4c38801 - ::span_bug:: [INFO] [stderr] 17: 0x7f86f4c38570 - ::span_bug:: [INFO] [stderr] 18: 0x7f86f4c65788 - rustc_middle[7be35d0dc781b06b]::ty::context::tls::with_context_opt::::{closure#0}, ()>::{closure#0}, ()> [INFO] [stderr] 19: 0x7f86f4c655a6 - rustc_middle[7be35d0dc781b06b]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 20: 0x7f86f4c65564 - rustc_middle[7be35d0dc781b06b]::util::bug::span_bug_fmt:: [INFO] [stderr] 21: 0x7f86f4bec76d - ::run_pass [INFO] [stderr] 22: 0x7f86f3432f3a - rustc_mir_transform[f8f749f4a15136ee]::pass_manager::run_passes_no_validate [INFO] [stderr] 23: 0x7f86f342c1d4 - rustc_mir_transform[f8f749f4a15136ee]::run_analysis_to_runtime_passes [INFO] [stderr] 24: 0x7f86f342b1e1 - rustc_mir_transform[f8f749f4a15136ee]::mir_drops_elaborated_and_const_checked [INFO] [stderr] 25: 0x7f86f3fee1ea - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::, &rustc_data_structures[54467c84bdba8388]::steal::Steal>> [INFO] [stderr] 26: 0x7f86f48d32fc - ::mir_drops_elaborated_and_const_checked [INFO] [stderr] 27: 0x7f86f3491afb - rustc_mir_transform[f8f749f4a15136ee]::optimized_mir [INFO] [stderr] 28: 0x7f86f39cfae9 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::> [INFO] [stderr] 29: 0x7f86f48d3721 - ::optimized_mir [INFO] [stderr] 30: 0x7f86f3cb90c1 - ::encode_crate_root [INFO] [stderr] 31: 0x7f86f37b0d92 - rustc_metadata[7655654f33e3fc04]::rmeta::encoder::encode_metadata_impl [INFO] [stderr] 32: 0x7f86f378e54e - rustc_data_structures[54467c84bdba8388]::sync::join:: [INFO] [stderr] 33: 0x7f86f378e439 - rustc_metadata[7655654f33e3fc04]::rmeta::encoder::encode_metadata [INFO] [stderr] 34: 0x7f86f378d54d - rustc_metadata[7655654f33e3fc04]::fs::encode_and_write_metadata [INFO] [stderr] 35: 0x7f86f3784c22 - ::enter::<::ongoing_codegen::{closure#0}::{closure#0}, core[87f6064f357e42c2]::result::Result, rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 36: 0x7f86f37452c3 - ::ongoing_codegen [INFO] [stderr] 37: 0x7f86f37436fd - rustc_interface[4ffcd4abddbf64f2]::interface::create_compiler_and_run::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}> [INFO] [stderr] 38: 0x7f86f3742011 - >::set::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 39: 0x7f86f3741cff - std[2aca39d6cbfe9e59]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 40: 0x7f86f4808e89 - <::spawn_unchecked_, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>>::{closure#1} as core[87f6064f357e42c2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 41: 0x7f86f21244f3 - as core::ops::function::FnOnce>::call_once::h3998462ded511e97 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 42: 0x7f86f21244f3 - as core::ops::function::FnOnce>::call_once::hb68442c5b53e403f [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 43: 0x7f86f21244f3 - std::sys::unix::thread::Thread::new::thread_start::h9c65d60d9d9c7be4 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 44: 0x7f86f1fd5609 - start_thread [INFO] [stderr] 45: 0x7f86f1ef8133 - clone [INFO] [stderr] 46: 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 (b755f8b99 2022-09-07) 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] #0 [mir_drops_elaborated_and_const_checked] elaborating drops for `console::cmds::::exec::{closure#0}` [INFO] [stderr] #1 [optimized_mir] optimizing MIR for `console::cmds::::exec::{closure#0}` [INFO] [stderr] end of query stack [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `endbasic-std` due to previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "36670f9fe6f83cc1b18c3ba67f1eabcb59096a979eacce59e7ee2e22dde77661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36670f9fe6f83cc1b18c3ba67f1eabcb59096a979eacce59e7ee2e22dde77661", kill_on_drop: false }` [INFO] [stdout] 36670f9fe6f83cc1b18c3ba67f1eabcb59096a979eacce59e7ee2e22dde77661