[INFO] cloning repository https://github.com/nhingy/f12019_data_logger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nhingy/f12019_data_logger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhingy%2Ff12019_data_logger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhingy%2Ff12019_data_logger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3dd546d3dd6417285c7546b4bd09a39d114ba90f [INFO] building nhingy/f12019_data_logger against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhingy%2Ff12019_data_logger" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nhingy/f12019_data_logger on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nhingy/f12019_data_logger [INFO] finished tweaking git repo https://github.com/nhingy/f12019_data_logger [INFO] tweaked toml for git repo https://github.com/nhingy/f12019_data_logger written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nhingy/f12019_data_logger already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 651202fa5b07555c094768cfec416117f2c53e54a323531c79185193b47850c7 [INFO] running `Command { std: "docker" "start" "-a" "651202fa5b07555c094768cfec416117f2c53e54a323531c79185193b47850c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "651202fa5b07555c094768cfec416117f2c53e54a323531c79185193b47850c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "651202fa5b07555c094768cfec416117f2c53e54a323531c79185193b47850c7", kill_on_drop: false }` [INFO] [stdout] 651202fa5b07555c094768cfec416117f2c53e54a323531c79185193b47850c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a49f8551b003d0739492d7250cc51cc157567e920ddf9b2b212fd3eb429c1ef9 [INFO] running `Command { std: "docker" "start" "-a" "a49f8551b003d0739492d7250cc51cc157567e920ddf9b2b212fd3eb429c1ef9", kill_on_drop: false }` [INFO] [stderr] Compiling byte v0.2.4 [INFO] [stderr] Compiling f12019_data_logger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/f1_2019_net.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Motion` is named the same as one of the variants of the type `f1_2019_net::PacketType` [INFO] [stdout] --> src/f1_2019_net.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Motion => return &"motion packet", [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `f1_2019_net::PacketType::Motion` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Session` is named the same as one of the variants of the type `f1_2019_net::PacketType` [INFO] [stdout] --> src/f1_2019_net.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | Session => return &"session packet", [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `f1_2019_net::PacketType::Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Lap` is named the same as one of the variants of the type `f1_2019_net::PacketType` [INFO] [stdout] --> src/f1_2019_net.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Lap => return &"lap packet", [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `f1_2019_net::PacketType::Lap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Event` is named the same as one of the variants of the type `f1_2019_net::PacketType` [INFO] [stdout] --> src/f1_2019_net.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Event => return &"event packet", [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `f1_2019_net::PacketType::Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Participant` is named the same as one of the variants of the type `f1_2019_net::PacketType` [INFO] [stdout] --> src/f1_2019_net.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Participant => return &"participant packet", [INFO] [stdout] | ^^^^^^^^^^^ help: to match on the variant, qualify the path: `f1_2019_net::PacketType::Participant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Setup` is named the same as one of the variants of the type `f1_2019_net::PacketType` [INFO] [stdout] --> src/f1_2019_net.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | Setup => return &"setup packet", [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `f1_2019_net::PacketType::Setup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Telemetry` is named the same as one of the variants of the type `f1_2019_net::PacketType` [INFO] [stdout] --> src/f1_2019_net.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Telemetry => return &"telemetry packet", [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `f1_2019_net::PacketType::Telemetry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `CarStatus` is named the same as one of the variants of the type `f1_2019_net::PacketType` [INFO] [stdout] --> src/f1_2019_net.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | CarStatus => return &"car status packet", [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `f1_2019_net::PacketType::CarStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `InvalidPacket` is named the same as one of the variants of the type `f1_2019_net::PacketType` [INFO] [stdout] --> src/f1_2019_net.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | InvalidPacket => return &"invalid packet", [INFO] [stdout] | ^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `f1_2019_net::PacketType::InvalidPacket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/f1_2019_net.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 24 | Motion => return &"motion packet", [INFO] [stdout] | ------ matches any value [INFO] [stdout] 25 | Session => return &"session packet", [INFO] [stdout] | ^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/f1_2019_net.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 24 | Motion => return &"motion packet", [INFO] [stdout] | ------ matches any value [INFO] [stdout] 25 | Session => return &"session packet", [INFO] [stdout] 26 | Lap => return &"lap packet", [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/f1_2019_net.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 24 | Motion => return &"motion packet", [INFO] [stdout] | ------ matches any value [INFO] [stdout] ... [INFO] [stdout] 27 | Event => return &"event packet", [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/f1_2019_net.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 24 | Motion => return &"motion packet", [INFO] [stdout] | ------ matches any value [INFO] [stdout] ... [INFO] [stdout] 28 | Participant => return &"participant packet", [INFO] [stdout] | ^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/f1_2019_net.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 24 | Motion => return &"motion packet", [INFO] [stdout] | ------ matches any value [INFO] [stdout] ... [INFO] [stdout] 29 | Setup => return &"setup packet", [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/f1_2019_net.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 24 | Motion => return &"motion packet", [INFO] [stdout] | ------ matches any value [INFO] [stdout] ... [INFO] [stdout] 30 | Telemetry => return &"telemetry packet", [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/f1_2019_net.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 24 | Motion => return &"motion packet", [INFO] [stdout] | ------ matches any value [INFO] [stdout] ... [INFO] [stdout] 31 | CarStatus => return &"car status packet", [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/f1_2019_net.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 24 | Motion => return &"motion packet", [INFO] [stdout] | ------ matches any value [INFO] [stdout] ... [INFO] [stdout] 32 | InvalidPacket => return &"invalid packet", [INFO] [stdout] | ^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Motion` [INFO] [stdout] --> src/f1_2019_net.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Motion => return &"motion packet", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Motion` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Session` [INFO] [stdout] --> src/f1_2019_net.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | Session => return &"session packet", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Lap` [INFO] [stdout] --> src/f1_2019_net.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Lap => return &"lap packet", [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Lap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Event` [INFO] [stdout] --> src/f1_2019_net.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Event => return &"event packet", [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Participant` [INFO] [stdout] --> src/f1_2019_net.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Participant => return &"participant packet", [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Participant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Setup` [INFO] [stdout] --> src/f1_2019_net.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | Setup => return &"setup packet", [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Setup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Telemetry` [INFO] [stdout] --> src/f1_2019_net.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Telemetry => return &"telemetry packet", [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Telemetry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `CarStatus` [INFO] [stdout] --> src/f1_2019_net.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | CarStatus => return &"car status packet", [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_CarStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `InvalidPacket` [INFO] [stdout] --> src/f1_2019_net.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | InvalidPacket => return &"invalid packet", [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_InvalidPacket` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/main.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | let mut header: PacketHeader = Default::default(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Box [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb22 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x72f57ed81caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x72f57f413cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x72f580328e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x72f57ed81b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x72f57ed83ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x72f57ed83e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x72f57deeff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x72f57ed847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x72f57df2a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x72f57df1f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x72f57df1f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x72f57df342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x72f57e484fdc - ::span_bug:: [INFO] [stderr] 13: 0x72f57e50a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x72f57e4f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x72f57e4efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x72f57c934437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x72f57fdd541b - ::build_unwind_tree [INFO] [stderr] 18: 0x72f57fdcd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x72f57f407714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x72f57f4076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x72f57f6953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x72f57f694f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x72f57c467185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x72f57fce98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x72f57fce9b69 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x72f57fce97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x72f57f89bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x72f58032cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x72f58032cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x72f58037b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x72f58037b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x72f5803701de - rustc_interface[b59e7ee7606ca029]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 33: 0x72f5803dff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x72f5802f5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x72f5802f551c - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[303105738bd0c2ae]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 36: 0x72f5802f6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x72f581af1ac3 - [INFO] [stderr] 38: 0x72f581b82a04 - clone [INFO] [stderr] 39: 0x0 - [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: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-01-01T01_40_57-15.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.85.0-nightly (9b5e8b16b 2024-12-19) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -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 [mir_built] building MIR for `main` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `main` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | buf.read_with::(&mut PACKET_FORMAT_OFFSET, LE).expect("error reading from buffer!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | const PACKET_FORMAT_OFFSET: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | buf.read_with::(&mut MAJ_VERSION_OFFSET, LE).expect("error reading from buffer!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | const MAJ_VERSION_OFFSET: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | buf.read_with::(&mut MIN_VERSION_OFFSET, LE).expect("error reading from buffer!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | const MIN_VERSION_OFFSET: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:157:27 [INFO] [stdout] | [INFO] [stdout] 157 | buf.read_with::(&mut PACKET_VERSION_OFFSET, LE).expect("error reading from buffer!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/main.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | const PACKET_VERSION_OFFSET: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | get_packet_type(buf.read_with::(&mut PACKET_TYPE_OFFSET, LE).expect("error reading from buffer!")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/main.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | const PACKET_TYPE_OFFSET: usize = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | buf.read_with::(&mut SESSION_ID_OFFSET, LE).expect("error reading from buffer!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/main.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | const SESSION_ID_OFFSET: usize = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | buf.read_with::(&mut SESSION_TIME_OFFSET, LE).expect("error reading from buffer!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/main.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | const SESSION_TIME_OFFSET: usize = 14; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | buf.read_with::(&mut FRAME_ID_OFFSET, LE).expect("error reading from buffer!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/main.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | const FRAME_ID_OFFSET: usize = 18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | buf.read_with::(&mut PLAYER_CAR_INDEX_OFFESET, LE).expect("error reading from buffer!") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/main.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | const PLAYER_CAR_INDEX_OFFESET: usize = 22; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `car_data` [INFO] [stdout] --> src/main.rs:225:6 [INFO] [stdout] | [INFO] [stdout] 225 | let car_data = CarMotion { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_car_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `car_data` [INFO] [stdout] --> src/main.rs:222:50 [INFO] [stdout] | [INFO] [stdout] 222 | fn parse_car_motion(buf: &[u8; MAX_PACKET_SIZE], car_data: &mut [CarMotion; 20], count: usize) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_car_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:224:6 [INFO] [stdout] | [INFO] [stdout] 224 | let mut offset = index * CAR_MOTION_SIZE; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:249:6 [INFO] [stdout] | [INFO] [stdout] 249 | let mut index = NUM_WHEELS - count; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:259:6 [INFO] [stdout] | [INFO] [stdout] 259 | let mut index = NUM_WHEELS - count; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/main.rs:287:33 [INFO] [stdout] | [INFO] [stdout] 287 | weather: buf.read_with::(&mut HEADER_SIZE, LE).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | const HEADER_SIZE: usize = 23; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:310:6 [INFO] [stdout] | [INFO] [stdout] 310 | let mut index = NUM_MARSHAL_ZONES - count; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:336:6 [INFO] [stdout] | [INFO] [stdout] 336 | let mut index = NUM_CARS - count; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:403:3 [INFO] [stdout] | [INFO] [stdout] 403 | _ => return None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:403:3 [INFO] [stdout] | [INFO] [stdout] 374 | EventType::SessionStarted => return Some(Event { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 379 | EventType::SessionEnded => return Some(Event { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 384 | EventType::FastestLap => return parse_multipart_event(evt_slice, event_type, header), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 385 | EventType::Retirement => return parse_multipart_event(evt_slice, event_type, header), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 403 | _ => return None, [INFO] [stdout] | ^ ...and 5 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `f12019_data_logger` (bin "f12019_data_logger") due to 9 previous errors; 37 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a49f8551b003d0739492d7250cc51cc157567e920ddf9b2b212fd3eb429c1ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a49f8551b003d0739492d7250cc51cc157567e920ddf9b2b212fd3eb429c1ef9", kill_on_drop: false }` [INFO] [stdout] a49f8551b003d0739492d7250cc51cc157567e920ddf9b2b212fd3eb429c1ef9