[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperlindgren%2Farray_list" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/perlindgren/array_list on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-3/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c27e3dc88c2b343142fe838c97fb5d5e511f028916cde1f5fb304c3c8fa3bc39 [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" "c27e3dc88c2b343142fe838c97fb5d5e511f028916cde1f5fb304c3c8fa3bc39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c27e3dc88c2b343142fe838c97fb5d5e511f028916cde1f5fb304c3c8fa3bc39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27e3dc88c2b343142fe838c97fb5d5e511f028916cde1f5fb304c3c8fa3bc39", kill_on_drop: false }` [INFO] [stdout] c27e3dc88c2b343142fe838c97fb5d5e511f028916cde1f5fb304c3c8fa3bc39 [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" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc1c493d959e7d42d63e6061999132d72b92cf5c8f2c3cce0943fa3a8047edcf [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" "cc1c493d959e7d42d63e6061999132d72b92cf5c8f2c3cce0943fa3a8047edcf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 0x7fa284bcba10 - std::backtrace_rs::backtrace::libunwind::trace::he85dfb3ae4206056 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/../../backtrace/src/backtrace/libunwind.rs:96 [INFO] [stderr] 1: 0x7fa284bcba10 - std::backtrace_rs::backtrace::trace_unsynchronized::h1ad28094d7b00c21 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/../../backtrace/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x7fa284bcba10 - std::sys_common::backtrace::_print_fmt::h901b54610713cd21 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/sys_common/backtrace.rs:79 [INFO] [stderr] 3: 0x7fa284bcba10 - ::fmt::hb0ad78ee1571f7e0 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/sys_common/backtrace.rs:58 [INFO] [stderr] 4: 0x7fa284c3a4ec - core::fmt::write::h1857a60b204f1b6a [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/core/src/fmt/mod.rs:1080 [INFO] [stderr] 5: 0x7fa284bbd672 - std::io::Write::write_fmt::hf7b7d7b243f84a36 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/io/mod.rs:1516 [INFO] [stderr] 6: 0x7fa284bd07ed - std::sys_common::backtrace::_print::hd093978a5287b8ff [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/sys_common/backtrace.rs:61 [INFO] [stderr] 7: 0x7fa284bd07ed - std::sys_common::backtrace::print::h20f46787581d56d7 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/sys_common/backtrace.rs:48 [INFO] [stderr] 8: 0x7fa284bd07ed - std::panicking::default_hook::{{closure}}::h486cbb4b82ffc357 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/panicking.rs:208 [INFO] [stderr] 9: 0x7fa284bd0498 - std::panicking::default_hook::h4190c9e3edd4d591 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/panicking.rs:227 [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] 10: 0x7fa28545dc24 - rustc_driver::report_ice::h2d0b9d7fa1f0e93b [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] 11: 0x7fa284bd1036 - std::panicking::rust_panic_with_hook::h72e78719cdda225c [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] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/panicking.rs:581 [INFO] [stderr] 12: 0x7fa286c7aca4 - std::panicking::begin_panic::{{closure}}::h3f91412018681286 [INFO] [stderr] 13: 0x7fa286c7ac5c - std::sys_common::backtrace::__rust_end_short_backtrace::h6a35701824c50d3d [INFO] [stderr] 14: 0x7fa286cee72c - std::panicking::begin_panic::h21f954d5194b2299 [INFO] [stderr] 15: 0x7fa2869107aa - rustc_mir::transform::check_consts::qualifs::in_operand::h213dfcfe5920c3df [INFO] [stderr] 16: 0x7fa2867dfc49 - rustc_mir::transform::promote_consts::Validator::qualif_local::h6de5650c8c76f5b8 [INFO] [stderr] 17: 0x7fa2867e0af7 - rustc_mir::transform::promote_consts::Validator::validate_local::h7b8d4730cdee8a97 [INFO] [stderr] 18: 0x7fa2867e0adc - rustc_mir::transform::promote_consts::Validator::validate_local::h7b8d4730cdee8a97 [INFO] [stderr] 19: 0x7fa2867e07a6 - rustc_mir::transform::promote_consts::Validator::validate_local::h7b8d4730cdee8a97 [INFO] [stderr] 20: 0x7fa2867e5a15 - rustc_mir::transform::promote_consts::should_suggest_const_in_array_repeat_expressions_attribute::h2a5c47acb67619c9 [INFO] [stderr] 21: 0x7fa286887a8b - rustc_mir::borrow_check::type_check::TypeChecker::check_rvalue::hee8d669faa492ac2 [INFO] [stderr] 22: 0x7fa28688b613 - rustc_mir::borrow_check::type_check::TypeChecker::typeck_mir::h1523a8e87540115a [INFO] [stderr] 23: 0x7fa28687e4bd - rustc_mir::borrow_check::type_check::type_check::hac7fa336b27e01c9 [INFO] [stderr] 24: 0x7fa286b09e47 - rustc_mir::borrow_check::nll::compute_regions::h20a4f118d6b6a6d8 [INFO] [stderr] 25: 0x7fa286cd1cc4 - rustc_mir::borrow_check::do_mir_borrowck::h2d879dd9dbe6e087 [INFO] [stderr] 26: 0x7fa286763ec1 - rustc_infer::infer::InferCtxtBuilder::enter::h97260b134551f7fc [INFO] [stderr] 27: 0x7fa286cd0f6f - rustc_mir::borrow_check::mir_borrowck::hc918d5689c81a324 [INFO] [stderr] 28: 0x7fa286c7bb75 - core::ops::function::FnOnce::call_once::h9a42c0ad0cd9ba28 [INFO] [stderr] 29: 0x7fa2856b45d5 - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::mir_borrowck>::compute::h2fa435eb726fedcc [INFO] [stderr] 30: 0x7fa285642547 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::hcd78b15f89546c71 [INFO] [stderr] 31: 0x7fa2856b5ab1 - rustc_data_structures::stack::ensure_sufficient_stack::h2b7c037d84a8d4a6 [INFO] [stderr] 32: 0x7fa28562fe53 - rustc_query_system::query::plumbing::get_query_impl::hc00bdc2b78b177bc [INFO] [stderr] 33: 0x7fa285638519 - rustc_query_system::query::plumbing::ensure_query_impl::hd93da40ddae322db [INFO] [stderr] 34: 0x7fa285690039 - rustc_session::utils::::time::h26857cd08173f285 [INFO] [stderr] 35: 0x7fa2856db2bb - rustc_interface::passes::analysis::h95a007a9273f834d [INFO] [stderr] 36: 0x7fa2854d8332 - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::analysis>::compute::h32ce79c998a0ef04 [INFO] [stderr] 37: 0x7fa2854a0a67 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::haa9e09de401aa4ee [INFO] [stderr] 38: 0x7fa2854ae880 - rustc_data_structures::stack::ensure_sufficient_stack::hf7a9a1aaed09f187 [INFO] [stderr] 39: 0x7fa285445d48 - rustc_query_system::query::plumbing::get_query_impl::ha6207834ac83c078 [INFO] [stderr] 40: 0x7fa2854d919f - rustc_interface::passes::QueryContext::enter::hfb2f24129ac65422 [INFO] [stderr] 41: 0x7fa2854ab8b5 - rustc_interface::queries::::enter::h6d8fbdac2c8699e8 [INFO] [stderr] 42: 0x7fa285481247 - rustc_span::with_source_map::h1bf646bc9539a2fe [INFO] [stderr] 43: 0x7fa2854ad372 - rustc_interface::interface::create_compiler_and_run::had34d5ca17db1f19 [INFO] [stderr] 44: 0x7fa28549526a - scoped_tls::ScopedKey::set::ha91c3557665f8943 [INFO] [stderr] 45: 0x7fa2854aedf1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4e0e62b21e392108 [INFO] [stderr] 46: 0x7fa2854307fe - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd3120bcd3c6454d6 [INFO] [stderr] 47: 0x7fa284bdfd7a - as core::ops::function::FnOnce>::call_once::h1080dfe0ef616bdf [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/alloc/src/boxed.rs:1042 [INFO] [stderr] 48: 0x7fa284bdfd7a - as core::ops::function::FnOnce>::call_once::hd2747e1f2d5cec32 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/alloc/src/boxed.rs:1042 [INFO] [stderr] 49: 0x7fa284bdfd7a - std::sys::unix::thread::Thread::new::thread_start::hd0f336b4ef6808a7 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/sys/unix/thread.rs:87 [INFO] [stderr] 50: 0x7fa284afb609 - start_thread [INFO] [stderr] 51: 0x7fa284a1c103 - clone [INFO] [stderr] 52: 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.49.0-nightly (f47dd4da3 2020-10-04) 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] [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] error: could not compile `array_list` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cc1c493d959e7d42d63e6061999132d72b92cf5c8f2c3cce0943fa3a8047edcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc1c493d959e7d42d63e6061999132d72b92cf5c8f2c3cce0943fa3a8047edcf", kill_on_drop: false }` [INFO] [stdout] cc1c493d959e7d42d63e6061999132d72b92cf5c8f2c3cce0943fa3a8047edcf