[INFO] cloning repository https://github.com/codepr/ruft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codepr/ruft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepr%2Fruft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepr%2Fruft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cc04e3173c6181ee6477e1b5092bd7871136b2a [INFO] building codepr/ruft against try#2cd6942e35a7765b6869d3a149ca54f2598b77ad for pr-93180 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepr%2Fruft" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codepr/ruft on toolchain 2cd6942e35a7765b6869d3a149ca54f2598b77ad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codepr/ruft [INFO] finished tweaking git repo https://github.com/codepr/ruft [INFO] tweaked toml for git repo https://github.com/codepr/ruft written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate git repo https://github.com/codepr/ruft already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-trait v0.1.48 [INFO] [stderr] Downloaded tokio-retry v0.3.0 [INFO] [stderr] Downloaded simplelog v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1333f36d5e424095d4de39711ca6f34814d2f8f45470dc1623cae306e30002c [INFO] running `Command { std: "docker" "start" "-a" "a1333f36d5e424095d4de39711ca6f34814d2f8f45470dc1623cae306e30002c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1333f36d5e424095d4de39711ca6f34814d2f8f45470dc1623cae306e30002c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1333f36d5e424095d4de39711ca6f34814d2f8f45470dc1623cae306e30002c", kill_on_drop: false }` [INFO] [stdout] a1333f36d5e424095d4de39711ca6f34814d2f8f45470dc1623cae306e30002c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02055b05221bea1a9c3584e68a3a93bdc0927c949d200494cda76496202a1b77 [INFO] running `Command { std: "docker" "start" "-a" "02055b05221bea1a9c3584e68a3a93bdc0927c949d200494cda76496202a1b77", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling simplelog v0.10.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.5 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling bincode v1.3.2 [INFO] [stderr] Compiling ruft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `last_id` [INFO] [stdout] --> src/rpc.rs:512:43 [INFO] [stdout] | [INFO] [stdout] 512 | RpcMessage::RequestVote(term, id, last_id, last_log) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_log` [INFO] [stdout] --> src/rpc.rs:512:52 [INFO] [stdout] | [INFO] [stdout] 512 | RpcMessage::RequestVote(term, id, last_id, last_log) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/rpc.rs:351:69 [INFO] [stdout] | [INFO] [stdout] 351 | if let RpcMessage::AppendEntriesReply(term, success) = re { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `term` [INFO] [stdout] --> src/rpc.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | term: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `command` [INFO] [stdout] --> src/rpc.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | command: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peers_number` [INFO] [stdout] --> src/rpc.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn peers_number(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/compiler/rustc_errors/src/lib.rs:1103:9 [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:766:13: Broken MIR: generator contains type &mut Framed> in MIR, but typeck only knows about {ResumeTy, &mut TokioRpcClient, RequestVote, Vec, TokioRpcClient, std::collections::hash_map::ValuesMut>>, std::option::Option<&mut Framed>>, RpcMessage, futures::sink::Send>, RpcMessage>, (), tokio_stream::stream_ext::next::Next>>} and [&mut rpc::TokioRpcClient, rpc::raft::RequestVote] [INFO] [stdout] --> src/rpc.rs:270:51 [INFO] [stdout] | [INFO] [stdout] 270 | ) -> AsyncResult> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 271 | | let mut responses: Vec = Vec::new(); [INFO] [stdout] 272 | | [INFO] [stdout] 273 | | for stream in self.peers.values_mut() { [INFO] [stdout] ... | [INFO] [stdout] 292 | | Ok(response) [INFO] [stdout] 293 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f578d45367c - std::backtrace_rs::backtrace::libunwind::trace::hab3bb7239730ce1e [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x7f578d45367c - std::backtrace_rs::backtrace::trace_unsynchronized::h7c00739330269721 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f578d45367c - std::sys_common::backtrace::_print_fmt::hc7fce0f2bad6b4e5 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x7f578d45367c - ::fmt::h6b1f9c749ca5dfce [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x7f578d4b485c - core::fmt::write::h14b56021008c8193 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/core/src/fmt/mod.rs:1168:17 [INFO] [stderr] 5: 0x7f578d442c23 - std::io::Write::write_fmt::h00903ac5c84da4ab [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/io/mod.rs:1653:15 [INFO] [stderr] 6: 0x7f578d457aa2 - std::sys_common::backtrace::_print::h520cdd5f2e9c382b [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x7f578d457aa2 - std::sys_common::backtrace::print::hc31c18dd3d9e99d7 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x7f578d457aa2 - std::panicking::default_hook::{{closure}}::h2b4911050a1d8d19 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/panicking.rs:290:50 [INFO] [stderr] 9: 0x7f578d457685 - std::panicking::default_hook::hd9ee213c07ceee82 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/panicking.rs:307:9 [INFO] [stderr] 10: 0x7f578dc34f91 - rustc_driver[574060610cdb6686]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7f577e23dcd3 - as core::ops::function::Fn>::call::hfe6f89934aa900d7 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/alloc/src/boxed.rs:1868:9 [INFO] [stderr] 12: 0x7f577e27f49c - proc_macro::bridge::client::::enter::{{closure}}::{{closure}}::hdd524a687b75ac59 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/proc_macro/src/bridge/client.rs:319:21 [INFO] [stderr] 13: 0x7f577e30bfe0 - std::panicking::update_hook::{{closure}}::hdf61b674357e9bb2 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/panicking.rs:257:41 [INFO] [stderr] 14: 0x7f578d4582bb - std::panicking::rust_panic_with_hook::hf221ce82965f4abb [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/panicking.rs:695:17 [INFO] [stderr] 15: 0x7f578deab1d1 - std[8ff7d40267274bc7]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 16: 0x7f578deaad76 - std[8ff7d40267274bc7]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 17: 0x7f578de113ff - std[8ff7d40267274bc7]::panicking::begin_panic:: [INFO] [stderr] 18: 0x7f578de8bf5d - std[8ff7d40267274bc7]::panic::panic_any:: [INFO] [stderr] 19: 0x7f578de888c8 - ::span_bug:: [INFO] [stderr] 20: 0x7f578de88680 - ::span_bug:: [INFO] [stderr] 21: 0x7f578ddee0f8 - rustc_middle[8a77eead77a7de65]::ty::context::tls::with_opt::::{closure#0}, ()> [INFO] [stderr] 22: 0x7f578ddee1b0 - rustc_middle[8a77eead77a7de65]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 23: 0x7f578ddee17c - rustc_middle[8a77eead77a7de65]::util::bug::span_bug_fmt:: [INFO] [stderr] 24: 0x7f578fc4c9d3 - ::run_pass [INFO] [stderr] 25: 0x7f578ef7f50f - rustc_mir_transform[e8bf563d71c3358c]::pass_manager::run_passes [INFO] [stderr] 26: 0x7f578ef404e1 - rustc_mir_transform[e8bf563d71c3358c]::optimized_mir [INFO] [stderr] 27: 0x7f578f4f7eb2 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::try_execute_query::> [INFO] [stderr] 28: 0x7f578f543247 - ::optimized_mir [INFO] [stderr] 29: 0x7f578f600068 - ::encode_crate_root [INFO] [stderr] 30: 0x7f57900d432f - rustc_metadata[fc8776039bfe24ae]::rmeta::encoder::encode_metadata_impl [INFO] [stderr] 31: 0x7f57900fa971 - rustc_data_structures[bb4cd459dd765b6f]::sync::join:: [INFO] [stderr] 32: 0x7f57900d3b43 - rustc_metadata[fc8776039bfe24ae]::rmeta::encoder::encode_metadata [INFO] [stderr] 33: 0x7f578faa7fb0 - ::ongoing_codegen [INFO] [stderr] 34: 0x7f578fa837dd - ::enter::, rustc_errors[a0b4bf6c95948d12]::ErrorReported>> [INFO] [stderr] 35: 0x7f578fa84db6 - rustc_span[7ad56b2a1dc47726]::with_source_map::, rustc_interface[925b183bd10502e3]::interface::create_compiler_and_run, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}>::{closure#1}> [INFO] [stderr] 36: 0x7f578fa82b5e - rustc_interface[925b183bd10502e3]::interface::create_compiler_and_run::, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}> [INFO] [stderr] 37: 0x7f578fa66d5b - >::set::, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>>::{closure#0}::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>> [INFO] [stderr] 38: 0x7f578fa66b35 - std[8ff7d40267274bc7]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>> [INFO] [stderr] 39: 0x7f578fa656e9 - <::spawn_unchecked_, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>>::{closure#1} as core[25abe57cfe4190a5]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 40: 0x7f578d463e63 - as core::ops::function::FnOnce>::call_once::h37fad153086c8632 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/alloc/src/boxed.rs:1854:9 [INFO] [stderr] 41: 0x7f578d463e63 - as core::ops::function::FnOnce>::call_once::h63ac285b00349412 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/alloc/src/boxed.rs:1854:9 [INFO] [stderr] 42: 0x7f578d463e63 - std::sys::unix::thread::Thread::new::thread_start::ha85c370649f33522 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 43: 0x7f578d375609 - start_thread [INFO] [stderr] 44: 0x7f578d28f293 - clone [INFO] [stderr] 45: 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.60.0-nightly (2cd6942e3 2022-01-26) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 --crate-type lib [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 `rpc::::request_vote::{closure#0}` [INFO] [stderr] end of query stack [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ruft` due to previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "02055b05221bea1a9c3584e68a3a93bdc0927c949d200494cda76496202a1b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02055b05221bea1a9c3584e68a3a93bdc0927c949d200494cda76496202a1b77", kill_on_drop: false }` [INFO] [stdout] 02055b05221bea1a9c3584e68a3a93bdc0927c949d200494cda76496202a1b77