[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#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepr%2Fruft" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codepr/ruft on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-12/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" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27581f7efe65189a471220463b910c7288fdce3d807658e93cfb84b0d871c321 [INFO] running `Command { std: "docker" "start" "-a" "27581f7efe65189a471220463b910c7288fdce3d807658e93cfb84b0d871c321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27581f7efe65189a471220463b910c7288fdce3d807658e93cfb84b0d871c321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27581f7efe65189a471220463b910c7288fdce3d807658e93cfb84b0d871c321", kill_on_drop: false }` [INFO] [stdout] 27581f7efe65189a471220463b910c7288fdce3d807658e93cfb84b0d871c321 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c3d81dd69876e197e82d96370aae6a292ab67bae5fafda7205c03c4f3ef391b [INFO] running `Command { std: "docker" "start" "-a" "4c3d81dd69876e197e82d96370aae6a292ab67bae5fafda7205c03c4f3ef391b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [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 getrandom v0.2.2 [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 proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [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 tokio v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.11 [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 tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.5 [INFO] [stderr] Compiling futures v0.3.13 [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: 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] = note: `#[warn(dead_code)]` on by default [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] [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] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:753:13: Broken MIR: generator contains type AppendEntries in MIR, but typeck only knows about {ResumeTy, &Arc>, Arc>, usize, impl futures::Future>, (), bool, u64, Sleep, Arc>, impl futures::Future>>, tokio::sync::MutexGuard, impl futures::Future>, &mut impl RaftRpc, tokio::sync::MutexGuard, Pin>> + std::marker::Send>>} and [&std::sync::Arc>, std::sync::Arc>, usize] [INFO] [stdout] --> src/rpc.rs:600:22 [INFO] [stdout] | [INFO] [stdout] 600 | ) -> AsyncResult<()> { [INFO] [stdout] | ______________________^ [INFO] [stdout] 601 | | // Start looping trying a new election if not already a Leader and if the latest AppendEntries [INFO] [stdout] 602 | | // received is older than the election timeout, meaning that the current leader node is dead [INFO] [stdout] 603 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 661 | | } [INFO] [stdout] 662 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/compiler/rustc_errors/src/lib.rs:1274:9 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7ff211b30f4d - std::backtrace_rs::backtrace::libunwind::trace::h48663e6e02482f77 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x7ff211b30f4d - std::backtrace_rs::backtrace::trace_unsynchronized::hd59d5365552a1436 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7ff211b30f4d - std::sys_common::backtrace::_print_fmt::ha78e5f373355cd4a [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7ff211b30f4d - ::fmt::h1b6548c67a95d5a1 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7ff211b8caac - core::fmt::write::hca7ee89651358f58 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/core/src/fmt/mod.rs:1196:17 [INFO] [stderr] 5: 0x7ff211b226e1 - std::io::Write::write_fmt::h4bbc99e2a7952e78 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/io/mod.rs:1654:15 [INFO] [stderr] 6: 0x7ff211b33c35 - std::sys_common::backtrace::_print::h26a0e5520b381b04 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7ff211b33c35 - std::sys_common::backtrace::print::h743a45291d5f39cc [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7ff211b33c35 - std::panicking::default_hook::{{closure}}::hf1e2b39dfd75cbc2 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7ff211b33956 - std::panicking::default_hook::h347898a158e52020 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7ff2122fad11 - rustc_driver[2c8e23c1704d1846]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7ff201d60f23 - as core::ops::function::Fn>::call::h20a24930a21e0733 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/alloc/src/boxed.rs:1886:9 [INFO] [stderr] 12: 0x7ff201d9001d - proc_macro::bridge::client::::enter::{{closure}}::{{closure}}::h9a151c74f0cfc28e [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/proc_macro/src/bridge/client.rs:335:21 [INFO] [stderr] 13: 0x7ff211b3430a - std::panicking::rust_panic_with_hook::h3cc7233c1fa5669e [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/panicking.rs:702:17 [INFO] [stderr] 14: 0x7ff2124c2cf1 - std[23f59d9749713536]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 15: 0x7ff2124bf296 - std[23f59d9749713536]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 16: 0x7ff2124d5946 - std[23f59d9749713536]::panicking::begin_panic:: [INFO] [stderr] 17: 0x7ff2124be546 - std[23f59d9749713536]::panic::panic_any:: [INFO] [stderr] 18: 0x7ff2124bc5a1 - ::span_bug:: [INFO] [stderr] 19: 0x7ff2124bb9b0 - ::span_bug:: [INFO] [stderr] 20: 0x7ff21250bfb8 - rustc_middle[8b88f8a0f89f93bb]::ty::context::tls::with_opt::::{closure#0}, ()> [INFO] [stderr] 21: 0x7ff21250bb86 - rustc_middle[8b88f8a0f89f93bb]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 22: 0x7ff21250bb44 - rustc_middle[8b88f8a0f89f93bb]::util::bug::span_bug_fmt:: [INFO] [stderr] 23: 0x7ff2137102aa - ::run_pass [INFO] [stderr] 24: 0x7ff2137014d0 - rustc_mir_transform[63cdf027e05c8c75]::pass_manager::run_passes [INFO] [stderr] 25: 0x7ff213755eed - rustc_mir_transform[63cdf027e05c8c75]::optimized_mir [INFO] [stderr] 26: 0x7ff213e0b5c7 - rustc_query_system[8f6ed9285397c37a]::query::plumbing::try_execute_query::> [INFO] [stderr] 27: 0x7ff213dd6b5e - ::optimized_mir [INFO] [stderr] 28: 0x7ff213e9a942 - ::encode_crate_root [INFO] [stderr] 29: 0x7ff214a0748a - rustc_metadata[fbfa442e55eb5e9c]::rmeta::encoder::encode_metadata_impl [INFO] [stderr] 30: 0x7ff214a20911 - rustc_data_structures[10bde15a730ca175]::sync::join:: [INFO] [stderr] 31: 0x7ff214a06c06 - rustc_metadata[fbfa442e55eb5e9c]::rmeta::encoder::encode_metadata [INFO] [stderr] 32: 0x7ff2143b5034 - ::enter::<::ongoing_codegen::{closure#0}::{closure#0}, core[d4370e29f295d5d]::result::Result, rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>> [INFO] [stderr] 33: 0x7ff2143d946f - ::ongoing_codegen [INFO] [stderr] 34: 0x7ff214381deb - ::enter::, rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>> [INFO] [stderr] 35: 0x7ff2143aa5af - rustc_span[e0494e7a78d29b23]::with_source_map::, rustc_interface[b04e2cdf424baf9e]::interface::create_compiler_and_run, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}>::{closure#1}> [INFO] [stderr] 36: 0x7ff214395d94 - rustc_interface[b04e2cdf424baf9e]::interface::create_compiler_and_run::, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}> [INFO] [stderr] 37: 0x7ff2143802b2 - >::set::, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>> [INFO] [stderr] 38: 0x7ff21439737f - std[23f59d9749713536]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>> [INFO] [stderr] 39: 0x7ff2143974b9 - <::spawn_unchecked_, rustc_driver[2c8e23c1704d1846]::run_compiler::{closure#1}>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>>::{closure#0}, core[d4370e29f295d5d]::result::Result<(), rustc_errors[4317dacdbe7ee454]::ErrorGuaranteed>>::{closure#1} as core[d4370e29f295d5d]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 40: 0x7ff211b3e223 - as core::ops::function::FnOnce>::call_once::hae8ffeec5cb662e2 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/alloc/src/boxed.rs:1872:9 [INFO] [stderr] 41: 0x7ff211b3e223 - as core::ops::function::FnOnce>::call_once::h1b179c7aca9d8b98 [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/alloc/src/boxed.rs:1872:9 [INFO] [stderr] 42: 0x7ff211b3e223 - std::sys::unix::thread::Thread::new::thread_start::h3faf721b71afff7d [INFO] [stderr] at /rustc/615edd3ad1cf6871c977dc900317cb6c2070fd6b/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 43: 0x7ff211a4b609 - start_thread [INFO] [stderr] 44: 0x7ff211964133 - 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.63.0-nightly (615edd3ad 2022-05-23) 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 [optimized_mir] optimizing MIR for `rpc::start_election_timer::{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" "4c3d81dd69876e197e82d96370aae6a292ab67bae5fafda7205c03c4f3ef391b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c3d81dd69876e197e82d96370aae6a292ab67bae5fafda7205c03c4f3ef391b", kill_on_drop: false }` [INFO] [stdout] 4c3d81dd69876e197e82d96370aae6a292ab67bae5fafda7205c03c4f3ef391b