[INFO] fetching crate endbasic-client 0.9.0... [INFO] building endbasic-client-0.9.0 against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] extracting crate endbasic-client 0.9.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate endbasic-client 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-client 0.9.0 [INFO] finished tweaking crates.io crate endbasic-client 0.9.0 [INFO] tweaked toml for crates.io crate endbasic-client 0.9.0 written to /workspace/builds/worker-7/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] 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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 93a6330cbcb91354a5b890084a8a34330684c976861ce28c2a751d070591081c [INFO] running `Command { std: "docker" "start" "-a" "93a6330cbcb91354a5b890084a8a34330684c976861ce28c2a751d070591081c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93a6330cbcb91354a5b890084a8a34330684c976861ce28c2a751d070591081c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a6330cbcb91354a5b890084a8a34330684c976861ce28c2a751d070591081c", kill_on_drop: false }` [INFO] [stdout] 93a6330cbcb91354a5b890084a8a34330684c976861ce28c2a751d070591081c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 19b0a8611d27e4a5319459bdbdc1ce97c1afe9ca46f055640cd562538208304b [INFO] running `Command { std: "docker" "start" "-a" "19b0a8611d27e4a5319459bdbdc1ce97c1afe9ca46f055640cd562538208304b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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 autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ryu v1.0.11 [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 futures-io v0.3.24 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling tokio v1.21.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [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] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.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: 0x7fe4729cd210 - 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: 0x7fe4729cd210 - 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: 0x7fe4729cd210 - std::sys_common::backtrace::_print_fmt::h1bfd64239328f990 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7fe4729cd210 - ::fmt::h0228dc1410a56233 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7fe472a2802e - core::fmt::write::hceb37e40129b2ef6 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/core/src/fmt/mod.rs:1202:17 [INFO] [stderr] 5: 0x7fe4729bdad5 - std::io::Write::write_fmt::h7aef09b2f8dd6912 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/io/mod.rs:1679:15 [INFO] [stderr] 6: 0x7fe4729cfe63 - std::sys_common::backtrace::_print::h9317a39a27ffc158 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7fe4729cfe63 - std::sys_common::backtrace::print::h3f862bf30220d547 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7fe4729cfe63 - std::panicking::default_hook::{{closure}}::h5f1809c5cfd4c61f [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7fe4729cfb4f - std::panicking::default_hook::h48ae03b43c4da387 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7fe475248461 - >::call_once::{shim:vtable#0} [INFO] [stderr] 11: 0x7fe4729d069d - std::panicking::rust_panic_with_hook::h064155defabdfb6a [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7fe4754ac651 - std[2aca39d6cbfe9e59]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7fe4754a7796 - std[2aca39d6cbfe9e59]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7fe4754a6b46 - std[2aca39d6cbfe9e59]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7fe4754efbe6 - std[2aca39d6cbfe9e59]::panic::panic_any:: [INFO] [stderr] 16: 0x7fe4754ee801 - ::span_bug:: [INFO] [stderr] 17: 0x7fe4754ee570 - ::span_bug:: [INFO] [stderr] 18: 0x7fe47551b788 - rustc_middle[7be35d0dc781b06b]::ty::context::tls::with_context_opt::::{closure#0}, ()>::{closure#0}, ()> [INFO] [stderr] 19: 0x7fe47551b5a6 - rustc_middle[7be35d0dc781b06b]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 20: 0x7fe47551b564 - rustc_middle[7be35d0dc781b06b]::util::bug::span_bug_fmt:: [INFO] [stderr] 21: 0x7fe4754a276d - ::run_pass [INFO] [stderr] 22: 0x7fe473ce8f3a - rustc_mir_transform[f8f749f4a15136ee]::pass_manager::run_passes_no_validate [INFO] [stderr] 23: 0x7fe473ce21d4 - rustc_mir_transform[f8f749f4a15136ee]::run_analysis_to_runtime_passes [INFO] [stderr] 24: 0x7fe473ce11e1 - rustc_mir_transform[f8f749f4a15136ee]::mir_drops_elaborated_and_const_checked [INFO] [stderr] 25: 0x7fe4748a41ea - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::, &rustc_data_structures[54467c84bdba8388]::steal::Steal>> [INFO] [stderr] 26: 0x7fe4751892fc - ::mir_drops_elaborated_and_const_checked [INFO] [stderr] 27: 0x7fe473d47afb - rustc_mir_transform[f8f749f4a15136ee]::optimized_mir [INFO] [stderr] 28: 0x7fe474285ae9 - rustc_query_system[6839c0556e8dcf6d]::query::plumbing::try_execute_query::> [INFO] [stderr] 29: 0x7fe475189721 - ::optimized_mir [INFO] [stderr] 30: 0x7fe47456f0c1 - ::encode_crate_root [INFO] [stderr] 31: 0x7fe474066d92 - rustc_metadata[7655654f33e3fc04]::rmeta::encoder::encode_metadata_impl [INFO] [stderr] 32: 0x7fe47404454e - rustc_data_structures[54467c84bdba8388]::sync::join:: [INFO] [stderr] 33: 0x7fe474044439 - rustc_metadata[7655654f33e3fc04]::rmeta::encoder::encode_metadata [INFO] [stderr] 34: 0x7fe47404354d - rustc_metadata[7655654f33e3fc04]::fs::encode_and_write_metadata [INFO] [stderr] 35: 0x7fe47403ac22 - ::enter::<::ongoing_codegen::{closure#0}::{closure#0}, core[87f6064f357e42c2]::result::Result, rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 36: 0x7fe473ffb2c3 - ::ongoing_codegen [INFO] [stderr] 37: 0x7fe473ff96fd - rustc_interface[4ffcd4abddbf64f2]::interface::create_compiler_and_run::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}> [INFO] [stderr] 38: 0x7fe473ff8011 - >::set::, rustc_driver[d785e9c303ecd8ca]::run_compiler::{closure#1}>::{closure#0}, core[87f6064f357e42c2]::result::Result<(), rustc_errors[7468fe47648b8434]::ErrorGuaranteed>> [INFO] [stderr] 39: 0x7fe473ff7cff - 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: 0x7fe4750bee89 - <::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: 0x7fe4729da4f3 - as core::ops::function::FnOnce>::call_once::h3998462ded511e97 [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 42: 0x7fe4729da4f3 - as core::ops::function::FnOnce>::call_once::hb68442c5b53e403f [INFO] [stderr] at /rustc/b755f8b9936d084e0363ce6b393c7e444a37080e/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 43: 0x7fe4729da4f3 - 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: 0x7fe47288b609 - start_thread [INFO] [stderr] 45: 0x7fe4727ae133 - 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" "19b0a8611d27e4a5319459bdbdc1ce97c1afe9ca46f055640cd562538208304b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b0a8611d27e4a5319459bdbdc1ce97c1afe9ca46f055640cd562538208304b", kill_on_drop: false }` [INFO] [stdout] 19b0a8611d27e4a5319459bdbdc1ce97c1afe9ca46f055640cd562538208304b