[INFO] cloning repository https://github.com/perlindgren/array_list [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/perlindgren/array_list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperlindgren%2Farray_list", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperlindgren%2Farray_list'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eea9e09cb47cdf327fbb6344d11a8c710b5a0149 [INFO] checking perlindgren/array_list against try#81275a1445c7502a974118e0c69b795ab60be991 for pr-80243 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperlindgren%2Farray_list" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/perlindgren/array_list on toolchain 81275a1445c7502a974118e0c69b795ab60be991 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/perlindgren/array_list [INFO] finished tweaking git repo https://github.com/perlindgren/array_list [INFO] tweaked toml for git repo https://github.com/perlindgren/array_list written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/perlindgren/array_list already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 729c8315814f56b36a61da440416b9bb920467d5056f4c53e310aa6f88eceaea [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" "729c8315814f56b36a61da440416b9bb920467d5056f4c53e310aa6f88eceaea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "729c8315814f56b36a61da440416b9bb920467d5056f4c53e310aa6f88eceaea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "729c8315814f56b36a61da440416b9bb920467d5056f4c53e310aa6f88eceaea", kill_on_drop: false }` [INFO] [stdout] 729c8315814f56b36a61da440416b9bb920467d5056f4c53e310aa6f88eceaea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0c131d5a4feeace1ae7837b49aacfac0e2ae136a0efa951a87f488150fc8342 [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" "b0c131d5a4feeace1ae7837b49aacfac0e2ae136a0efa951a87f488150fc8342", kill_on_drop: false }` [INFO] [stderr] Checking array_list v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] thread 'rustc' panicked at 'assertion failed: promoted.is_none()', compiler/rustc_mir/src/transform/check_consts/qualifs.rs:254:9 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7fdb3dc866c7 - std::backtrace_rs::backtrace::libunwind::trace::h746c3e9529d524bc [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stderr] 1: 0x7fdb3dc866c7 - std::backtrace_rs::backtrace::trace_unsynchronized::h84373278bfb39e0c [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7fdb3dc866c7 - std::sys_common::backtrace::_print_fmt::h517324efde750597 [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x7fdb3dc866c7 - ::fmt::hf594ab77fac89284 [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x7fdb3dcf728c - core::fmt::write::h3868db8542c90941 [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/core/src/fmt/mod.rs:1078:17 [INFO] [stderr] 5: 0x7fdb3dc78592 - std::io::Write::write_fmt::h3f6656f045fa877f [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/io/mod.rs:1519:15 [INFO] [stderr] 6: 0x7fdb3dc8a3b5 - std::sys_common::backtrace::_print::hda7655c057c24dcc [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x7fdb3dc8a3b5 - std::sys_common::backtrace::print::h546a6c8431d46287 [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x7fdb3dc8a3b5 - std::panicking::default_hook::{{closure}}::h006dd083853faf51 [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/panicking.rs:208:50 [INFO] [stderr] 9: 0x7fdb3dc89f0a - std::panicking::default_hook::hf0f9afb1017317fc [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/panicking.rs:225:9 [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/main.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn free(&mut self, i: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/main.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn push(&mut self, v: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/main.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn pop(&mut self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/main.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn free(&mut self, i: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/main.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn push(&mut self, v: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/main.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn pop(&mut self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 10: 0x7fdb3e52b328 - rustc_driver::report_ice::h956234bae73e460f [INFO] [stderr] 11: 0x7fdb3dc8acb6 - std::panicking::rust_panic_with_hook::hb7a19826c029b1d6 [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/panicking.rs:595:17 [INFO] [stderr] 12: 0x7fdb3dc8a7a7 - std::panicking::begin_panic_handler::{{closure}}::hde71edcd925d0c5e [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/panicking.rs:495:13 [INFO] [stderr] 13: 0x7fdb3dc86b8c - std::sys_common::backtrace::__rust_end_short_backtrace::h8a3c7d6cea578919 [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] 14: 0x7fdb3dc8a739 - rust_begin_unwind [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/panicking.rs:493:5 [INFO] [stderr] 15: 0x7fdb3dcf36a1 - core::panicking::panic_fmt::h20225113c4a2f8fd [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/core/src/panicking.rs:92:14 [INFO] [stderr] 16: 0x7fdb3dcf35ed - core::panicking::panic::h35b77276aa4b0c12 [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/core/src/panicking.rs:50:5 [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | write!(f, "List :"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 17: 0x7fdb3fb40071 - rustc_mir::transform::check_consts::qualifs::in_operand::h733c4b8c6665eecc [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | write!(f, "{:?}, ", self.nodes[i as usize].data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 18: 0x7fdb3f9249e9 - rustc_mir::transform::promote_consts::Validator::qualif_local::h7f2e27eb34d699f4 [INFO] [stderr] 19: 0x7fdb3f925715 - rustc_mir::transform::promote_consts::Validator::validate_local::hd8d833376422566c [INFO] [stderr] 20: 0x7fdb3f925701 - rustc_mir::transform::promote_consts::Validator::validate_local::hd8d833376422566c [INFO] [stderr] 21: 0x7fdb3f9254b5 - rustc_mir::transform::promote_consts::Validator::validate_local::hd8d833376422566c [INFO] [stderr] 22: 0x7fdb3f92aa45 - rustc_mir::transform::promote_consts::should_suggest_const_in_array_repeat_expressions_attribute::h3c4ce47be198049f [INFO] [stderr] 23: 0x7fdb3f964cd3 - rustc_mir::borrow_check::type_check::TypeChecker::check_rvalue::h748a9946eb5165a8 [INFO] [stderr] 24: 0x7fdb3f968841 - rustc_mir::borrow_check::type_check::TypeChecker::typeck_mir::h8d545e4aedb88b80 [INFO] [stderr] 25: 0x7fdb3f95b038 - rustc_mir::borrow_check::type_check::type_check::h77f8c84921dca988 [INFO] [stderr] 26: 0x7fdb3fc8fd1a - rustc_mir::borrow_check::nll::compute_regions::hb6229d7b91edf990 [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 27: 0x7fdb3fe3921c - rustc_mir::borrow_check::do_mir_borrowck::h4005c8bb76138f82 [INFO] [stderr] 28: 0x7fdb3f8d3336 - rustc_infer::infer::InferCtxtBuilder::enter::h881bee5e95d0255a [INFO] [stderr] 29: 0x7fdb3fe3854b - rustc_mir::borrow_check::mir_borrowck::h36a01cec74a149cb [INFO] [stderr] 30: 0x7fdb3fe09037 - core::ops::function::FnOnce::call_once::h3404bcb0fed919ad [INFO] [stderr] 31: 0x7fdb3e78b10e - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::mir_borrowck>::compute::h04e812456adfe4b0 [INFO] [stderr] 32: 0x7fdb3e743f10 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::h334ed6218328ffbc [INFO] [stderr] 33: 0x7fdb3e78dc7b - rustc_data_structures::stack::ensure_sufficient_stack::h8775cd94ce51d4fd [INFO] [stderr] 34: 0x7fdb3e7363c7 - rustc_query_system::query::plumbing::get_query_impl::hee9a73cf3bb51533 [INFO] [stderr] 35: 0x7fdb3e738469 - rustc_query_system::query::plumbing::ensure_query_impl::h5a10e70c7461c3bf [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | write!(f, "List :"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 36: 0x7fdb3e762c99 - rustc_session::utils::::time::h307c9a8ae086a366 [INFO] [stderr] 37: 0x7fdb3e7a6d52 - rustc_interface::passes::analysis::h1277a6a22a164c98 [INFO] [stderr] 38: 0x7fdb3e58661b - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::analysis>::compute::he772285573dcf530 [INFO] [stderr] 39: 0x7fdb3e56ea0d - rustc_middle::ty::query::plumbing::::start_query::{{closure}}::{{closure}}::{{closure}}::haf660f8b5fc0a8b6 [INFO] [stderr] 40: 0x7fdb3e506851 - rustc_query_system::query::plumbing::get_query_impl::h9637293c1f2da416 [INFO] [stderr] 41: 0x7fdb3e58b78f - rustc_interface::passes::QueryContext::enter::h33139460b088ed05 [INFO] [stderr] 42: 0x7fdb3e599215 - rustc_interface::queries::::enter::h58cc75bad344bc3b [INFO] [stderr] 43: 0x7fdb3e554a17 - rustc_span::with_source_map::hb087a1c2bc75d8e9 [INFO] [stderr] 44: 0x7fdb3e59a40b - rustc_interface::interface::create_compiler_and_run::ha492945fb183c01e [INFO] [stderr] 45: 0x7fdb3e5689b0 - scoped_tls::ScopedKey::set::hf41307147817b997 [INFO] [stderr] 46: 0x7fdb3e579c47 - std::sys_common::backtrace::__rust_begin_short_backtrace::h645f3b510f7fe2fd [INFO] [stderr] 47: 0x7fdb3e4eec6a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h19b1a0a715ec4eae [INFO] [stderr] 48: 0x7fdb3dc9a7ba - as core::ops::function::FnOnce>::call_once::hea1090dbdcecbf5a [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/alloc/src/boxed.rs:1328:9 [INFO] [stderr] 49: 0x7fdb3dc9a7ba - as core::ops::function::FnOnce>::call_once::h8d5723d3912bd325 [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/alloc/src/boxed.rs:1328:9 [INFO] [stderr] 50: 0x7fdb3dc9a7ba - std::sys::unix::thread::Thread::new::thread_start::hc17a425ca2995724 [INFO] [stderr] at /rustc/81275a1445c7502a974118e0c69b795ab60be991/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stderr] 51: 0x7fdb3dbab609 - start_thread [INFO] [stderr] 52: 0x7fdb3dabf293 - clone [INFO] [stderr] 53: 0x0 - [INFO] [stderr] [INFO] [stderr] error: internal compiler error: unexpected panic [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.50.0-nightly (81275a144 2020-12-20) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 --crate-type bin [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | write!(f, "{:?}, ", self.nodes[i as usize].data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] #0 [mir_borrowck] borrow-checking `A` [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] #1 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `array_list` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b0c131d5a4feeace1ae7837b49aacfac0e2ae136a0efa951a87f488150fc8342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0c131d5a4feeace1ae7837b49aacfac0e2ae136a0efa951a87f488150fc8342", kill_on_drop: false }` [INFO] [stdout] b0c131d5a4feeace1ae7837b49aacfac0e2ae136a0efa951a87f488150fc8342