[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] 968b3d2e58566fdad8e28f94f8565f2495200922 [INFO] checking perlindgren/array_list against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperlindgren%2Farray_list" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/perlindgren/array_list on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-10/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", 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] c771b4ac4a31fb2132ddb8433bda6bf8166f1234bc3f64f5c66eae7db95ab3f8 [INFO] running `Command { std: "docker" "start" "-a" "c771b4ac4a31fb2132ddb8433bda6bf8166f1234bc3f64f5c66eae7db95ab3f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c771b4ac4a31fb2132ddb8433bda6bf8166f1234bc3f64f5c66eae7db95ab3f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c771b4ac4a31fb2132ddb8433bda6bf8166f1234bc3f64f5c66eae7db95ab3f8", kill_on_drop: false }` [INFO] [stdout] c771b4ac4a31fb2132ddb8433bda6bf8166f1234bc3f64f5c66eae7db95ab3f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c991b298ad16054484e2efafe2be3ab9c5cafa5ad258a3ef52e19e56a09953a4 [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" "c991b298ad16054484e2efafe2be3ab9c5cafa5ad258a3ef52e19e56a09953a4", 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:248:9 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7eff2a61f670 - std::backtrace_rs::backtrace::libunwind::trace::h7cf3ca97bd83fbab [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/std/src/../../backtrace/src/backtrace/libunwind.rs:96 [INFO] [stderr] 1: 0x7eff2a61f670 - std::backtrace_rs::backtrace::trace_unsynchronized::h5a69c674b2d9ea5c [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/std/src/../../backtrace/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x7eff2a61f670 - std::sys_common::backtrace::_print_fmt::hdf72478dfcb50678 [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/std/src/sys_common/backtrace.rs:79 [INFO] [stderr] 3: 0x7eff2a61f670 - ::fmt::h1e0bdbb35e83deca [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/std/src/sys_common/backtrace.rs:58 [INFO] [stderr] 4: 0x7eff2a68daac - core::fmt::write::he67f9b17bcb7ee73 [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/core/src/fmt/mod.rs:1080 [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn free(&mut self, i: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 5: 0x7eff2a611052 - std::io::Write::write_fmt::hac97d5cb5753e2ec [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/main.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn push(&mut self, v: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/std/src/io/mod.rs:1516 [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn pop(&mut self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 6: 0x7eff2a62441d - std::sys_common::backtrace::_print::haa20918e28a126c5 [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/std/src/sys_common/backtrace.rs:61 [INFO] [stderr] 7: 0x7eff2a62441d - std::sys_common::backtrace::print::h49e772a4873d9076 [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/std/src/sys_common/backtrace.rs:48 [INFO] [stderr] 8: 0x7eff2a62441d - std::panicking::default_hook::{{closure}}::hb218b305d15e3f11 [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/std/src/panicking.rs:208 [INFO] [stderr] 9: 0x7eff2a6240c8 - std::panicking::default_hook::h63997b7b949e1ce0 [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/std/src/panicking.rs:227 [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | 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] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | 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] 10: 0x7eff2b291164 - rustc_driver::report_ice::h5b9fb8474972c25e [INFO] [stderr] 11: 0x7eff2a624c66 - std::panicking::rust_panic_with_hook::hb54f09ccadf64bd3 [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/std/src/panicking.rs:581 [INFO] [stderr] 12: 0x7eff2eb1b0f4 - std::panicking::begin_panic::{{closure}}::ha88863f9074c98bc [INFO] [stderr] 13: 0x7eff2eb1afac - std::sys_common::backtrace::__rust_end_short_backtrace::hda197c5455c3cad5 [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | 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:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | 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:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn pop(&mut self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 14: 0x7eff2eb1afec - std::panicking::begin_panic::h41d5a0bd7abd23ad [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 15: 0x7eff2e7f7b1a - rustc_mir::transform::check_consts::qualifs::in_operand::h74801bbc4f7573e5 [INFO] [stderr] 16: 0x7eff2e972d19 - rustc_mir::transform::promote_consts::Validator::qualif_local::h790b9da30cf041be [INFO] [stderr] 17: 0x7eff2e973e9c - rustc_mir::transform::promote_consts::Validator::validate_local::h2857f163b77ea63e [INFO] [stderr] 18: 0x7eff2e973e83 - rustc_mir::transform::promote_consts::Validator::validate_local::h2857f163b77ea63e [INFO] [stderr] 19: 0x7eff2e973ad4 - rustc_mir::transform::promote_consts::Validator::validate_local::h2857f163b77ea63e [INFO] [stderr] 20: 0x7eff2e978f15 - rustc_mir::transform::promote_consts::should_suggest_const_in_array_repeat_expressions_attribute::h01a06ade48ea0ff7 [INFO] [stderr] 21: 0x7eff2e7776f2 - rustc_mir::borrow_check::type_check::TypeChecker::check_rvalue::hb2a321fcf6718269 [INFO] [stderr] 22: 0x7eff2e77b1b7 - rustc_mir::borrow_check::type_check::TypeChecker::typeck_mir::h9fc6e3d8582e0e05 [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | 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] 23: 0x7eff2e76e54d - rustc_mir::borrow_check::type_check::type_check::h2bf00d78ec6338e9 [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | 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] 24: 0x7eff2e9ec3f7 - rustc_mir::borrow_check::nll::compute_regions::h2efba4be43e16e62 [INFO] [stderr] 25: 0x7eff2eb7f6e9 - rustc_mir::borrow_check::do_mir_borrowck::h622799f45ef37df2 [INFO] [stderr] 26: 0x7eff2e640971 - rustc_infer::infer::InferCtxtBuilder::enter::h18a314578a90a889 [INFO] [stderr] 27: 0x7eff2eb7c70f - rustc_mir::borrow_check::mir_borrowck::h2db5be00ecbcfee2 [INFO] [stderr] 28: 0x7eff2eb4e4c5 - core::ops::function::FnOnce::call_once::h1711866d7f5ce9fd [INFO] [stderr] 29: 0x7eff2b4f38ce - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::mir_borrowck>::compute::h0adaf8d8777fed0d [INFO] [stderr] 30: 0x7eff2b47b717 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::h3578e070773002be [INFO] [stderr] 31: 0x7eff2b4f5e31 - rustc_data_structures::stack::ensure_sufficient_stack::h99a1f9572ae9d05a [INFO] [stderr] 32: 0x7eff2b470963 - rustc_query_system::query::plumbing::get_query_impl::hefb3b83f78123a75 [INFO] [stderr] 33: 0x7eff2b4725f9 - rustc_query_system::query::plumbing::ensure_query_impl::h3a8bc3754a47335a [INFO] [stderr] 34: 0x7eff2b4bea09 - rustc_session::utils::::time::h6a2b8c7fc7b3dbff [INFO] [stderr] 35: 0x7eff2b5116fb - rustc_interface::passes::analysis::h42cb8a299fcacd38 [INFO] [stderr] 36: 0x7eff2b30cd42 - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::analysis>::compute::hb65b85e12b55f528 [INFO] [stderr] 37: 0x7eff2b2d2437 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::h9bf8d79b3c567c34 [INFO] [stderr] 38: 0x7eff2b2e1f20 - rustc_data_structures::stack::ensure_sufficient_stack::h8bb7429a04f474d0 [INFO] [stderr] 39: 0x7eff2b278fd7 - rustc_query_system::query::plumbing::get_query_impl::h95a4e9ff7ab813c1 [INFO] [stderr] 40: 0x7eff2b30d94f - rustc_interface::passes::QueryContext::enter::hd3f560a4dbbbbec3 [INFO] [stderr] 41: 0x7eff2b2dfa1c - rustc_interface::queries::::enter::had791f63f727c367 [INFO] [stderr] 42: 0x7eff2b2b4b27 - rustc_span::with_source_map::h755817392b17a216 [INFO] [stderr] 43: 0x7eff2b2dbc41 - scoped_tls::ScopedKey::set::he59500e39ec4abad [INFO] [stderr] 44: 0x7eff2b2e2fa1 - std::sys_common::backtrace::__rust_begin_short_backtrace::hd47de080afaa24c1 [INFO] [stderr] 45: 0x7eff2b26000e - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd9b6798a9391b23c [INFO] [stderr] 46: 0x7eff2a6339aa - as core::ops::function::FnOnce>::call_once::hd4d30e37db281e8f [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/alloc/src/boxed.rs:1042 [INFO] [stderr] 47: 0x7eff2a6339aa - as core::ops::function::FnOnce>::call_once::h019185a215ba16e4 [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/alloc/src/boxed.rs:1042 [INFO] [stderr] 48: 0x7eff2a6339aa - std::sys::unix::thread::Thread::new::thread_start::h33c6d7cf25f9291f [INFO] [stderr] at /rustc/1219014599fd873fcb640b675d8a662150c74e40/library/std/src/sys/unix/thread.rs:87 [INFO] [stderr] 49: 0x7eff2a53e609 - start_thread [INFO] [stderr] 50: 0x7eff2a463293 - clone [INFO] [stderr] 51: 0x0 - [INFO] [stderr] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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.48.0-beta.8 (121901459 2020-11-08) 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] [stderr] #0 [mir_borrowck] borrow-checking `A` [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" "c991b298ad16054484e2efafe2be3ab9c5cafa5ad258a3ef52e19e56a09953a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c991b298ad16054484e2efafe2be3ab9c5cafa5ad258a3ef52e19e56a09953a4", kill_on_drop: false }` [INFO] [stdout] c991b298ad16054484e2efafe2be3ab9c5cafa5ad258a3ef52e19e56a09953a4