[INFO] fetching crate varlen_example 0.1.2... [INFO] checking varlen_example-0.1.2 against try#c3491e21996dc67a8e37d9e5e74ed156563e9854 for pr-101345 [INFO] extracting crate varlen_example 0.1.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate varlen_example 0.1.2 on toolchain c3491e21996dc67a8e37d9e5e74ed156563e9854 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate varlen_example 0.1.2 [INFO] finished tweaking crates.io crate varlen_example 0.1.2 [INFO] tweaked toml for crates.io crate varlen_example 0.1.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4316d83e249c922c58f5da735a8dfe2dfb1ba4ecae859908f22d7782daa0e38f [INFO] running `Command { std: "docker" "start" "-a" "4316d83e249c922c58f5da735a8dfe2dfb1ba4ecae859908f22d7782daa0e38f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4316d83e249c922c58f5da735a8dfe2dfb1ba4ecae859908f22d7782daa0e38f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4316d83e249c922c58f5da735a8dfe2dfb1ba4ecae859908f22d7782daa0e38f", kill_on_drop: false }` [INFO] [stdout] 4316d83e249c922c58f5da735a8dfe2dfb1ba4ecae859908f22d7782daa0e38f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e69f1418eb4fe2f47843f48e4be3e078fa1322725e6e45941ad59ada930d41be [INFO] running `Command { std: "docker" "start" "-a" "e69f1418eb4fe2f47843f48e4be3e078fa1322725e6e45941ad59ada930d41be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling trybuild v1.0.64 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling varlen_macro v0.1.3 [INFO] [stderr] Checking varlen v0.1.2 [INFO] [stdout] error: internal compiler error: compiler/rustc_middle/src/ty/subst.rs:619:9: expected type for `Len/#0` (Len/0) but found Lifetime(ReFree(DefId(0:663 ~ varlen[a4cb]::str::{impl#3}::try_copy), BrNamed(DefId(0:1464 ~ varlen[a4cb]::str::{impl#3}::try_copy::'_), '_))) when substituting, substs=[ReFree(DefId(0:663 ~ varlen[a4cb]::str::{impl#3}::try_copy), BrNamed(DefId(0:1464 ~ varlen[a4cb]::str::{impl#3}::try_copy::'_), '_)), Len] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/compiler/rustc_errors/src/lib.rs:1465:9 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7fa730053340 - std::backtrace_rs::backtrace::libunwind::trace::h6176bf60b78d74d6 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 1: 0x7fa730053340 - std::backtrace_rs::backtrace::trace_unsynchronized::h5d22932bd33ba306 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7fa730053340 - std::sys_common::backtrace::_print_fmt::h91ed71259c388db3 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7fa730053340 - ::fmt::hde15bb8cbf7665da [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7fa7300ae0fe - core::fmt::write::h9761a5598d7cc269 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/core/src/fmt/mod.rs:1202:17 [INFO] [stderr] 5: 0x7fa730043d15 - std::io::Write::write_fmt::h26becaaa3f318825 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/io/mod.rs:1679:15 [INFO] [stderr] 6: 0x7fa730055fd3 - std::sys_common::backtrace::_print::hc10fefd61e366dd2 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7fa730055fd3 - std::sys_common::backtrace::print::hd8c846072a354bbf [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7fa730055fd3 - std::panicking::default_hook::{{closure}}::haa135eeb0555cd8c [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7fa730055cbf - std::panicking::default_hook::h962e5f45e4e85804 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7fa7328ee244 - rustc_driver[37844947c1c4e730]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7fa73005680d - std::panicking::rust_panic_with_hook::h26097f8ccbe406f2 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7fa7338b5051 - std[17c996d5f6362125]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7fa7338b4946 - std[17c996d5f6362125]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7fa7338b15f6 - std[17c996d5f6362125]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7fa7338b15e6 - std[17c996d5f6362125]::panic::panic_any:: [INFO] [stderr] 16: 0x7fa7338b03ad - ::bug::<&alloc[cf695002ebe1f35b]::string::String> [INFO] [stderr] 17: 0x7fa7338afc10 - ::bug::<&alloc[cf695002ebe1f35b]::string::String> [INFO] [stderr] 18: 0x7fa733918c6d - rustc_middle[7beb62e1eee56aa5]::ty::context::tls::with_context_opt::::{closure#0}, ()>::{closure#0}, ()> [INFO] [stderr] 19: 0x7fa73391a9b6 - rustc_middle[7beb62e1eee56aa5]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 20: 0x7fa7312bf1a3 - rustc_middle[7beb62e1eee56aa5]::util::bug::bug_fmt [INFO] [stderr] 21: 0x7fa73391794d - ::type_param_expected [INFO] [stderr] 22: 0x7fa7311c833b - ::try_fold_ty [INFO] [stderr] 23: 0x7fa7311bff98 - ::fold_ty [INFO] [stderr] 24: 0x7fa7313174bb - ::try_fold_predicate [INFO] [stderr] 25: 0x7fa731317003 - rustc_middle[7beb62e1eee56aa5]::ty::util::fold_list:: as rustc_middle[7beb62e1eee56aa5]::ty::fold::TypeFoldable>::try_fold_with::{closure#0}> [INFO] [stderr] 26: 0x7fa731d50a8b - ::match_projection_obligation_against_definition_bounds [INFO] [stderr] 27: 0x7fa73124d4c8 - ::assemble_candidates [INFO] [stderr] 28: 0x7fa731247b99 - ::candidate_from_obligation_no_cache [INFO] [stderr] 29: 0x7fa73146dc74 - ::process_obligation [INFO] [stderr] 30: 0x7fa73146972f - >::process_obligations::> [INFO] [stderr] 31: 0x7fa731dad854 - ::select_all_or_error [INFO] [stderr] 32: 0x7fa731fc8416 - ::enter::<(), rustc_typeck[1c1b7dedada1227e]::check::wfcheck::enter_wf_checking_ctxt::{closure#0}> [INFO] [stderr] 33: 0x7fa731fc70c7 - rustc_typeck[1c1b7dedada1227e]::check::wfcheck::check_associated_item [INFO] [stderr] 34: 0x7fa731fc38a1 - rustc_typeck[1c1b7dedada1227e]::check::wfcheck::check_well_formed [INFO] [stderr] 35: 0x7fa7318134f0 - rustc_query_system[50d9efc904e05111]::query::plumbing::try_execute_query::> [INFO] [stderr] 36: 0x7fa7327efbf7 - ::check_well_formed [INFO] [stderr] 37: 0x7fa73238518f - rustc_data_structures[7dd3ac3ff0520fbe]::sync::par_for_each_in::<&[rustc_hir[7bbdfdd47438bf92]::hir::ImplItemId], ::par_impl_items::{closure#0}> [INFO] [stderr] 38: 0x7fa732759cc9 - rustc_typeck[1c1b7dedada1227e]::check::wfcheck::check_mod_type_wf [INFO] [stderr] 39: 0x7fa7318134f0 - rustc_query_system[50d9efc904e05111]::query::plumbing::try_execute_query::> [INFO] [stderr] 40: 0x7fa73232cd35 - rustc_query_system[50d9efc904e05111]::query::plumbing::get_query:: [INFO] [stderr] 41: 0x7fa7322d27b8 - rustc_data_structures[7dd3ac3ff0520fbe]::sync::par_for_each_in::<&[rustc_span[b6ed302232182e4]::def_id::LocalDefId], ::par_for_each_module::{closure#0}> [INFO] [stderr] 42: 0x7fa7322d25c3 - ::track_errors:: [INFO] [stderr] 43: 0x7fa7322d1bf0 - rustc_typeck[1c1b7dedada1227e]::check_crate [INFO] [stderr] 44: 0x7fa7322cfa62 - rustc_interface[5b9d04fc58ee7720]::passes::analysis [INFO] [stderr] 45: 0x7fa73267a72f - rustc_query_system[50d9efc904e05111]::query::plumbing::try_execute_query::>> [INFO] [stderr] 46: 0x7fa73267a440 - rustc_query_system[50d9efc904e05111]::query::plumbing::get_query:: [INFO] [stderr] 47: 0x7fa731717744 - ::enter::> [INFO] [stderr] 48: 0x7fa7317142ae - ::enter::, rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>> [INFO] [stderr] 49: 0x7fa73170f41c - rustc_span[b6ed302232182e4]::with_source_map::, rustc_interface[5b9d04fc58ee7720]::interface::create_compiler_and_run, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#1}> [INFO] [stderr] 50: 0x7fa73170ee12 - rustc_interface[5b9d04fc58ee7720]::interface::create_compiler_and_run::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}> [INFO] [stderr] 51: 0x7fa73170da61 - >::set::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>> [INFO] [stderr] 52: 0x7fa73170d74f - std[17c996d5f6362125]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>> [INFO] [stderr] 53: 0x7fa73270c629 - <::spawn_unchecked_, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#1} as core[fae64f17691dff84]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 54: 0x7fa730060663 - as core::ops::function::FnOnce>::call_once::hbcba3d5baddb20d1 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 55: 0x7fa730060663 - as core::ops::function::FnOnce>::call_once::hcb40027853eebed4 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 56: 0x7fa730060663 - std::sys::unix::thread::Thread::new::thread_start::habdd10d71164d0ca [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 57: 0x7fa72ff10609 - start_thread [INFO] [stderr] 58: 0x7fa72fe33133 - clone [INFO] [stderr] 59: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.65.0-nightly (c3491e219 2022-09-03) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [check_well_formed] checking that `str::::try_copy` is well-formed [INFO] [stderr] #1 [check_mod_type_wf] checking that types are well-formed in module `str` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `varlen` due to previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e69f1418eb4fe2f47843f48e4be3e078fa1322725e6e45941ad59ada930d41be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e69f1418eb4fe2f47843f48e4be3e078fa1322725e6e45941ad59ada930d41be", kill_on_drop: false }` [INFO] [stdout] e69f1418eb4fe2f47843f48e4be3e078fa1322725e6e45941ad59ada930d41be