[INFO] fetching crate tide-naive-static-files 2.2.0... [INFO] building tide-naive-static-files-2.2.0 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] extracting crate tide-naive-static-files 2.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate tide-naive-static-files 2.2.0 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tide-naive-static-files 2.2.0 [INFO] finished tweaking crates.io crate tide-naive-static-files 2.2.0 [INFO] tweaked toml for crates.io crate tide-naive-static-files 2.2.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate tide-naive-static-files 2.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e0572d751898e24123a297c3a16558a36aec1e0e7a982c724570cd47f7d1b71 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e0572d751898e24123a297c3a16558a36aec1e0e7a982c724570cd47f7d1b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e0572d751898e24123a297c3a16558a36aec1e0e7a982c724570cd47f7d1b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e0572d751898e24123a297c3a16558a36aec1e0e7a982c724570cd47f7d1b71", kill_on_drop: false }` [INFO] [stdout] 7e0572d751898e24123a297c3a16558a36aec1e0e7a982c724570cd47f7d1b71 [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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 04a396eea1e7d5d31c6563adcbefefe97b964274e88856ae3a47d6239ea8d7fb [INFO] running `Command { std: "docker" "start" "-a" "04a396eea1e7d5d31c6563adcbefefe97b964274e88856ae3a47d6239ea8d7fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling once_cell v1.2.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling data-encoding v2.1.2 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling futures-fs v0.0.5 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.17 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling serde_qs v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling http-service v0.4.0 [INFO] [stderr] Compiling http-service-hyper v0.4.1 [INFO] [stderr] Compiling tide v0.6.0 [INFO] [stderr] Compiling tide-naive-static-files v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:753:13: Broken MIR: generator contains type Mime in MIR, but typeck only knows about {ResumeTy, std::path::PathBuf, &str, impl Future>, (), Metadata, impl Future>} and [std::path::PathBuf, &str] [INFO] [stdout] --> src/lib.rs:40:81 [INFO] [stdout] | [INFO] [stdout] 40 | async fn stream_bytes(root: PathBuf, actual_path: &str) -> io::Result { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 41 | | let mut path = get_path(&root, actual_path); [INFO] [stdout] 42 | | [INFO] [stdout] 43 | | // Loop if the path points to a directory because we want to try looking for [INFO] [stdout] ... | [INFO] [stdout] 74 | | .set_mime(mime)) [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/compiler/rustc_errors/src/lib.rs:1274:9 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f7b37e16f4d - std::backtrace_rs::backtrace::libunwind::trace::h48663e6e02482f77 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x7f7b37e16f4d - std::backtrace_rs::backtrace::trace_unsynchronized::hd59d5365552a1436 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f7b37e16f4d - std::sys_common::backtrace::_print_fmt::ha78e5f373355cd4a [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7f7b37e16f4d - ::fmt::h1b6548c67a95d5a1 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7f7b37e72aac - core::fmt::write::hca7ee89651358f58 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/core/src/fmt/mod.rs:1196:17 [INFO] [stderr] 5: 0x7f7b37e086e1 - std::io::Write::write_fmt::h4bbc99e2a7952e78 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/io/mod.rs:1654:15 [INFO] [stderr] 6: 0x7f7b37e19c35 - std::sys_common::backtrace::_print::h26a0e5520b381b04 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7f7b37e19c35 - std::sys_common::backtrace::print::h743a45291d5f39cc [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7f7b37e19c35 - std::panicking::default_hook::{{closure}}::hf1e2b39dfd75cbc2 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7f7b37e19956 - std::panicking::default_hook::h347898a158e52020 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7f7b385e0d11 - rustc_driver[2c8e23c1704d1846]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7f7b37e1a30a - std::panicking::rust_panic_with_hook::h3cc7233c1fa5669e [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7f7b387a8cf1 - std[23f59d9749713536]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7f7b387a5296 - std[23f59d9749713536]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7f7b387bb946 - std[23f59d9749713536]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7f7b387a4546 - std[23f59d9749713536]::panic::panic_any:: [INFO] [stderr] 16: 0x7f7b387a25a1 - ::span_bug:: [INFO] [stderr] 17: 0x7f7b387a19b0 - ::span_bug:: [INFO] [stderr] 18: 0x7f7b387f1fb8 - rustc_middle[8b88f8a0f89f93bb]::ty::context::tls::with_opt::::{closure#0}, ()> [INFO] [stderr] 19: 0x7f7b387f1b86 - rustc_middle[8b88f8a0f89f93bb]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 20: 0x7f7b387f1b44 - rustc_middle[8b88f8a0f89f93bb]::util::bug::span_bug_fmt:: [INFO] [stderr] 21: 0x7f7b399f62aa - ::run_pass [INFO] [stderr] 22: 0x7f7b399e74d0 - rustc_mir_transform[63cdf027e05c8c75]::pass_manager::run_passes [INFO] [stderr] 23: 0x7f7b39a3beed - rustc_mir_transform[63cdf027e05c8c75]::optimized_mir [INFO] [stderr] 24: 0x7f7b3a0f15c7 - rustc_query_system[8f6ed9285397c37a]::query::plumbing::try_execute_query::> [INFO] [stderr] 25: 0x7f7b3a0bcb5e - ::optimized_mir [INFO] [stderr] 26: 0x7f7b3a180942 - ::encode_crate_root [INFO] [stderr] 27: 0x7f7b3aced48a - rustc_metadata[fbfa442e55eb5e9c]::rmeta::encoder::encode_metadata_impl [INFO] [stderr] 28: 0x7f7b3ad06911 - rustc_data_structures[10bde15a730ca175]::sync::join:: [INFO] [stderr] 29: 0x7f7b3acecc06 - rustc_metadata[fbfa442e55eb5e9c]::rmeta::encoder::encode_metadata [INFO] [stderr] 30: 0x7f7b3a69b034 - ::enter::<::ongoing_codegen::{closure#0}::{closure#0}, core[d4370e29f295d5d]::result::Result, rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>> [INFO] [stderr] 31: 0x7f7b3a6bf46f - ::ongoing_codegen [INFO] [stderr] 32: 0x7f7b3a667deb - ::enter::, rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>> [INFO] [stderr] 33: 0x7f7b3a6905af - rustc_span[e0494e7a78d29b23]::with_source_map::, rustc_interface[b04e2cdf424baf9e]::interface::create_compiler_and_run, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}>::{closure#1}> [INFO] [stderr] 34: 0x7f7b3a67bd94 - rustc_interface[b04e2cdf424baf9e]::interface::create_compiler_and_run::, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}> [INFO] [stderr] 35: 0x7f7b3a6662b2 - >::set::, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>> [INFO] [stderr] 36: 0x7f7b3a67d37f - std[23f59d9749713536]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>> [INFO] [stderr] 37: 0x7f7b3a67d4b9 - <::spawn_unchecked_, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>>::{closure#1} as core[d4370e29f295d5d]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 38: 0x7f7b37e24223 - as core::ops::function::FnOnce>::call_once::hae8ffeec5cb662e2 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/alloc/src/boxed.rs:1872:9 [INFO] [stderr] 39: 0x7f7b37e24223 - as core::ops::function::FnOnce>::call_once::h1b179c7aca9d8b98 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/alloc/src/boxed.rs:1872:9 [INFO] [stderr] 40: 0x7f7b37e24223 - std::sys::unix::thread::Thread::new::thread_start::h3faf721b71afff7d [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 41: 0x7f7b37d31609 - start_thread [INFO] [stderr] 42: 0x7f7b37c4a133 - clone [INFO] [stderr] 43: 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.63.0-nightly (615edd3ad 2022-05-23) 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 [optimized_mir] optimizing MIR for `stream_bytes::{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 `tide-naive-static-files` due to previous error [INFO] running `Command { std: "docker" "inspect" "04a396eea1e7d5d31c6563adcbefefe97b964274e88856ae3a47d6239ea8d7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a396eea1e7d5d31c6563adcbefefe97b964274e88856ae3a47d6239ea8d7fb", kill_on_drop: false }` [INFO] [stdout] 04a396eea1e7d5d31c6563adcbefefe97b964274e88856ae3a47d6239ea8d7fb