[INFO] cloning repository https://github.com/tolumide-ng/coding-challenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tolumide-ng/coding-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftolumide-ng%2Fcoding-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftolumide-ng%2Fcoding-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f086f2c577d12dfbcf99f99bba55dae91f64d928 [INFO] building tolumide-ng/coding-challenge 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%2Ftolumide-ng%2Fcoding-challenge" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tolumide-ng/coding-challenge 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/tolumide-ng/coding-challenge [INFO] finished tweaking git repo https://github.com/tolumide-ng/coding-challenge [INFO] tweaked toml for git repo https://github.com/tolumide-ng/coding-challenge written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tolumide-ng/coding-challenge 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ac5530305e8574a6d6da1b7be41e7babc908e329d8f0affe3319f0b85caa0dbe [INFO] running `Command { std: "docker" "start" "-a" "ac5530305e8574a6d6da1b7be41e7babc908e329d8f0affe3319f0b85caa0dbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac5530305e8574a6d6da1b7be41e7babc908e329d8f0affe3319f0b85caa0dbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac5530305e8574a6d6da1b7be41e7babc908e329d8f0affe3319f0b85caa0dbe", kill_on_drop: false }` [INFO] [stdout] ac5530305e8574a6d6da1b7be41e7babc908e329d8f0affe3319f0b85caa0dbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5cb598625ae166dc0bcda7766726cc1e63b0370ddcd352371188aec9cf11d74f [INFO] running `Command { std: "docker" "start" "-a" "5cb598625ae166dc0bcda7766726cc1e63b0370ddcd352371188aec9cf11d74f", kill_on_drop: false }` [INFO] [stderr] Compiling data_structures v0.1.0 (/opt/rustwide/workdir/data_structures) [INFO] [stderr] Compiling dynamic_pg v0.1.0 (/opt/rustwide/workdir/dynamic_pg) [INFO] [stdout] warning: fields `memo`, `aggregator`, and `target` are never read [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/all_construct.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | struct AllConstructs { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 14 | dic: Vec<&'static str>, [INFO] [stdout] 15 | memo: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | aggregator: ReturnType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | target: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AllConstructs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/all_construct.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn recursive_all_construct(target: &'static str, dic: Vec<&'static str>) -> ReturnType { [INFO] [stdout] | ------------------------------------------------------------------------------------------ move the `impl` block outside of this function `recursive_all_construct` [INFO] [stdout] 32 | impl AllConstructs { [INFO] [stdout] | ^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | `AllConstructs` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/all_construct.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn tabulated_all_construct(target: &'static str, dic: Vec<&'static str>) -> TabReturnType { [INFO] [stdout] | --------------------------------------------------------------------------------------------- move the `impl` block outside of this function `tabulated_all_construct` [INFO] [stdout] 66 | // use std::collections::HashMap; [INFO] [stdout] 67 | impl AllConstructs { [INFO] [stdout] | ^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | `AllConstructs` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/best_sum.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn recursive_best_sum(target: i64, coins: Vec) -> CoinType { [INFO] [stdout] | --------------------------------------------------------------------- move the `impl` block outside of this function `recursive_best_sum` [INFO] [stdout] 27 | impl BestSum { [INFO] [stdout] | ^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | `BestSum` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/best_sum.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn memoized_best_sum(target: i64, coins: Vec) -> CoinType { [INFO] [stdout] | -------------------------------------------------------------------- move the `impl` block outside of this function `memoized_best_sum` [INFO] [stdout] 67 | impl BestSum { [INFO] [stdout] | ^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | `BestSum` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/best_sum.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn tabulated_best_sum(target: usize, coins: Vec) -> CoinType { [INFO] [stdout] | ----------------------------------------------------------------------- move the `impl` block outside of this function `tabulated_best_sum` [INFO] [stdout] 116 | impl BestSum { [INFO] [stdout] | ^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | `BestSum` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/can_construct.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn recursive_can_construct(target: &str, dic: Vec<&'static str>) -> bool { [INFO] [stdout] | ---------------------------------------------------------------------------- move the `impl` block outside of this function `recursive_can_construct` [INFO] [stdout] 28 | impl CanConstruct { [INFO] [stdout] | ^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | `CanConstruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/can_construct.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn memoized_can_construct(target: &str, dic: Vec<&'static str>) -> bool { [INFO] [stdout] | --------------------------------------------------------------------------- move the `impl` block outside of this function `memoized_can_construct` [INFO] [stdout] 54 | impl CanConstruct { [INFO] [stdout] | ^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | `CanConstruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/can_construct.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn tabulated_can_construct(target: &str, dic: Vec<&'static str>) -> bool { [INFO] [stdout] | ---------------------------------------------------------------------------- move the `impl` block outside of this function `tabulated_can_construct` [INFO] [stdout] 88 | // where dic is dictionary of words [INFO] [stdout] 89 | impl CanConstruct { [INFO] [stdout] | ^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | `CanConstruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/can_sum.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn recursive_can_sum(target: i64, coins: Vec) -> bool { [INFO] [stdout] | -------------------------------------------------------------- move the `impl` block outside of this function `recursive_can_sum` [INFO] [stdout] ... [INFO] [stdout] 26 | impl CanSum { [INFO] [stdout] | ^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | `CanSum` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/can_sum.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn memoized_can_sum(target: i64, coins: Vec) -> bool { [INFO] [stdout] | ------------------------------------------------------------- move the `impl` block outside of this function `memoized_can_sum` [INFO] [stdout] ... [INFO] [stdout] 55 | impl CanSum { [INFO] [stdout] | ^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | `CanSum` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/can_sum.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn tabulated_can_sum(target: i64, coins: Vec) -> bool { [INFO] [stdout] | -------------------------------------------------------------- move the `impl` block outside of this function `tabulated_can_sum` [INFO] [stdout] 90 | impl CanSum { [INFO] [stdout] | ^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | `CanSum` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/count_construct.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn recursive_count_construct(target: &str, dic: Vec<&'static str>) -> usize { [INFO] [stdout] | ------------------------------------------------------------------------------- move the `impl` block outside of this function `recursive_count_construct` [INFO] [stdout] 26 | impl CountConstruct { [INFO] [stdout] | ^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | `CountConstruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/count_construct.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn memoized_count_construct(target: &str, dic: Vec<&'static str>) -> usize { [INFO] [stdout] | ------------------------------------------------------------------------------ move the `impl` block outside of this function `memoized_count_construct` [INFO] [stdout] 54 | impl CountConstruct { [INFO] [stdout] | ^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | `CountConstruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/count_construct.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn tabulated_count_construct(target: &str, dic: Vec<&'static str>) -> usize { [INFO] [stdout] | ------------------------------------------------------------------------------- move the `impl` block outside of this function `tabulated_count_construct` [INFO] [stdout] 90 | impl CountConstruct { [INFO] [stdout] | ^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | `CountConstruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/how_sum.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn recursive_how_sum(target_sum: i64, coins: Vec) -> ReturnType { [INFO] [stdout] | -------------------------------------------------------------------------- move the `impl` block outside of this function `recursive_how_sum` [INFO] [stdout] 25 | impl HowSum { [INFO] [stdout] | ^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | `HowSum` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/how_sum.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn memoized_how_sum(target_sum: i64, coins: Vec) -> ReturnType { [INFO] [stdout] | ------------------------------------------------------------------------- move the `impl` block outside of this function `memoized_how_sum` [INFO] [stdout] 53 | impl HowSum { [INFO] [stdout] | ^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | `HowSum` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> dynamic_pg/src/dynamic_programming/how_sum.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn tabulated_how_sum(target_sum: usize, coins: Vec) -> ReturnType { [INFO] [stdout] | ---------------------------------------------------------------------------- move the `impl` block outside of this function `tabulated_how_sum` [INFO] [stdout] 96 | impl HowSum { [INFO] [stdout] | ^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | `HowSum` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb81 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x731c8dd81caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x731c8e413cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x731c8f328e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x731c8dd81b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x731c8dd83ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x731c8dd83e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x731c8ceeff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x731c8dd847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x731c8cf2a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x731c8cf1f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x731c8cf1f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x731c8cf342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x731c8d484fdc - ::span_bug:: [INFO] [stderr] 13: 0x731c8d50a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x731c8d4f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x731c8d4efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x731c8b934437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x731c8edd541b - ::build_unwind_tree [INFO] [stderr] 18: 0x731c8edcd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x731c8e407714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x731c8e4076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x731c8e6953d1 - 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: 0x731c8e694f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x731c8b467185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x731c8ece98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x731c8ece9b69 - 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: 0x731c8ece97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x731c8e89bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x731c8f32cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x731c8f32cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x731c8f37b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x731c8f37b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x731c8f3701de - 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: 0x731c8f3dff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x731c8f2f5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x731c8f2f551c - <::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: 0x731c8f2f6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x731c90b46ac3 - [INFO] [stderr] 38: 0x731c90bd7a04 - 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-01T02_59_33-10.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 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 [mir_built] building MIR for `linked_lists::single_ll::::delete_at_index` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `linked_lists::single_ll::::delete_at_index` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> data_structures/src/recursion/create_bst.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut parent_node = queue.get_mut(0).unwrap(); [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] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb137 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x731c8dd81caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x731c8e413cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x731c8f328e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x731c8dd81b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x731c8dd83ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x731c8dd83e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x731c8ceeff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x731c8dd847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x731c8cf2a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x731c8cf1f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x731c8cf1f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x731c8cf342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x731c8d484fdc - ::span_bug:: [INFO] [stderr] 13: 0x731c8d50a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x731c8d4f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x731c8d4efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x731c8b934437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x731c8edd541b - ::build_unwind_tree [INFO] [stderr] 18: 0x731c8edcd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x731c8e407714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x731c8e4076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x731c8e6953d1 - 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: 0x731c8e694f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x731c8b467185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x731c8ece98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x731c8ece9b69 - 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: 0x731c8ece97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x731c8e89bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x731c8f32cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x731c8f32cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x731c8f37b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x731c8f37b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x731c8f3701de - 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: 0x731c8f3dff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x731c8f2f5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x731c8f2f551c - <::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: 0x731c8f2f6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x731c90b46ac3 - [INFO] [stderr] 38: 0x731c90bd7a04 - 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-01T02_59_33-10.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 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 [mir_built] building MIR for `recursion::merge_two_sorted_lists::merge_two_sorted_lists::recursive_merge_list` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `recursion::merge_two_sorted_lists::merge_two_sorted_lists::recursive_merge_list` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] warning: unused variable: `pn` [INFO] [stdout] --> data_structures/src/recursion/same_tree.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | (Some(pn), None) => false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qn` [INFO] [stdout] --> data_structures/src/recursion/same_tree.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | (None, Some(qn)) => false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_qn` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `data_structures` (lib); 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/bin/rustc --crate-name data_structures --edition=2018 data_structures/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=f7704d05a70472ee -C extra-filename=-e7541babffea4d44 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5cb598625ae166dc0bcda7766726cc1e63b0370ddcd352371188aec9cf11d74f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cb598625ae166dc0bcda7766726cc1e63b0370ddcd352371188aec9cf11d74f", kill_on_drop: false }` [INFO] [stdout] 5cb598625ae166dc0bcda7766726cc1e63b0370ddcd352371188aec9cf11d74f