[INFO] cloning repository https://github.com/AlecDivito/wrt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlecDivito/wrt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlecDivito%2Fwrt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlecDivito%2Fwrt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e22000b0068fc0cd3dbebf8232a3599ab6fbeea6 [INFO] building AlecDivito/wrt 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%2FAlecDivito%2Fwrt" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlecDivito/wrt 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/AlecDivito/wrt [INFO] finished tweaking git repo https://github.com/AlecDivito/wrt [INFO] tweaked toml for git repo https://github.com/AlecDivito/wrt written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AlecDivito/wrt 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f11e50aa41a1c9a00c745896232f0037c96d3798f599e9ef761e70c1e14509df [INFO] running `Command { std: "docker" "start" "-a" "f11e50aa41a1c9a00c745896232f0037c96d3798f599e9ef761e70c1e14509df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f11e50aa41a1c9a00c745896232f0037c96d3798f599e9ef761e70c1e14509df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f11e50aa41a1c9a00c745896232f0037c96d3798f599e9ef761e70c1e14509df", kill_on_drop: false }` [INFO] [stdout] f11e50aa41a1c9a00c745896232f0037c96d3798f599e9ef761e70c1e14509df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6962cf64fe6a0e95be0cb891c7091b095a22ce2e630c46c0aca8b3fc6ba1f14b [INFO] running `Command { std: "docker" "start" "-a" "6962cf64fe6a0e95be0cb891c7091b095a22ce2e630c46c0aca8b3fc6ba1f14b", kill_on_drop: false }` [INFO] [stderr] Compiling wrt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `module::function`, `module::instruction` [INFO] [stdout] --> src/lib.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use module::{function::Frame, instruction::Instruction, module::Module}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ could not find `instruction` in `module` [INFO] [stdout] | | [INFO] [stdout] | could not find `function` in `module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::module::export`, `crate::module::import`, `crate::module::instruction` [INFO] [stdout] --> src/block.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | module::{export::Export, import::Import, instruction::Instruction}, [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^ could not find `instruction` in `module` [INFO] [stdout] | | | [INFO] [stdout] | | could not find `import` in `module` [INFO] [stdout] | could not find `export` in `module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::export`, `super::function`, `super::global`, `super::import` [INFO] [stdout] --> src/module/module.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use super::{export::Export, function::Function, global::Global, import::Import}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ could not find `import` in `super` [INFO] [stdout] | | | | [INFO] [stdout] | | | could not find `global` in `super` [INFO] [stdout] | | could not find `function` in `super` [INFO] [stdout] | could not find `export` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/module/module.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn function(&self, id: &Identifier) -> Option<&Function> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> src/block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identifier` [INFO] [stdout] --> src/lib.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | .function(&Identifier::String(id.to_owned())) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Module` has no field named `globals` [INFO] [stdout] --> src/module/module.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | globals: Vec::new(), [INFO] [stdout] | ^^^^^^^ `Module` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Module` has no field named `functions` [INFO] [stdout] --> src/module/module.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | functions: Vec::new(), [INFO] [stdout] | ^^^^^^^^^ `Module` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Module` has no field named `exports` [INFO] [stdout] --> src/module/module.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | exports: Vec::new(), [INFO] [stdout] | ^^^^^^^ `Module` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `exports` on type `Module` [INFO] [stdout] --> src/module/module.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | ... module.exports.insert(export.id(), export); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `functions` on type `Module` [INFO] [stdout] --> src/module/module.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | module.functions.push(func); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `exports` on type `Module` [INFO] [stdout] --> src/module/module.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | module.exports.insert(export.id(), export); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `functions` on type `Module` [INFO] [stdout] --> src/module/module.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | ImportDefinition::Function(f) => module.functions.push(f), [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `WasmError` in the current scope [INFO] [stdout] --> src/module/module.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(WasmError::new( [INFO] [stdout] | ^^^ function or associated item not found in `WasmError` [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WasmError { [INFO] [stdout] | -------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `WasmError` consider using one of the following associated functions: [INFO] [stdout] WasmError::err [INFO] [stdout] WasmError::expect [INFO] [stdout] WasmError::expected [INFO] [stdout] WasmError::expected_type [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn err(reason: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn expect(expected: BlockType, found: &BlockType) -> WasmError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn expected(expected: &[BlockType], found: &BlockType) -> WasmError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) fn expected_type(expected: ValueType, found: ValueType) -> WasmError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `WasmError` in the current scope [INFO] [stdout] --> src/module/module.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | Err(WasmError::new( [INFO] [stdout] | ^^^ function or associated item not found in `WasmError` [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WasmError { [INFO] [stdout] | -------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `WasmError` consider using one of the following associated functions: [INFO] [stdout] WasmError::err [INFO] [stdout] WasmError::expect [INFO] [stdout] WasmError::expected [INFO] [stdout] WasmError::expected_type [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn err(reason: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn expect(expected: BlockType, found: &BlockType) -> WasmError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn expected(expected: &[BlockType], found: &BlockType) -> WasmError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) fn expected_type(expected: ValueType, found: ValueType) -> WasmError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `functions` on type `&Module` [INFO] [stdout] --> src/module/module.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | for func in &self.functions { [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `exports` on type `&Module` [INFO] [stdout] --> src/module/module.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | self.exports.get(&Identifier::String(name.into())) [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identifier` [INFO] [stdout] --> src/module/module.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | self.exports.get(&Identifier::String(name.into())) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.value_type` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/values/func.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 43 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ----- this is an immutable reference [INFO] [stdout] 44 | let content = if self.value_type.len() == 1 { [INFO] [stdout] 45 | let value_type = self.value_type.pop().unwrap().type_id_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.id` as enum variant `Some` which is behind a shared reference [INFO] [stdout] --> src/values/func.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(id) = self.id { [INFO] [stdout] | -- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `id` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(id) = &self.id { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/values/limit.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `parts` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/values/limit.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | parts.nth(0).unwrap() [INFO] [stdout] | ^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 25 | let mut parts = s.split(" "); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `parts` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/values/limit.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | parts.nth(0).unwrap() [INFO] [stdout] | ^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 25 | let mut parts = s.split(" "); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `parts` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/values/limit.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let parts = s.split(" "); [INFO] [stdout] | ^^^^^ not mutable [INFO] [stdout] 26 | [INFO] [stdout] 27 | let min = parts [INFO] [stdout] | ----- cannot borrow as mutable [INFO] [stdout] ... [INFO] [stdout] 38 | let max = match parts.next() { [INFO] [stdout] | ----- cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 25 | let mut parts = s.split(" "); [INFO] [stdout] | +++ [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 -> bb45 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x768c0e981caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x768c0f013cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x768c0ff28e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x768c0e981b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x768c0e983ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x768c0e983e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x768c0daeff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x768c0e9847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x768c0db2a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x768c0db1f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x768c0db1f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x768c0db342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x768c0e084fdc - ::span_bug:: [INFO] [stderr] 13: 0x768c0e10a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x768c0e0f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x768c0e0efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x768c0c534437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x768c0f9d541b - ::build_unwind_tree [INFO] [stderr] 18: 0x768c0f9cd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x768c0f007714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x768c0f0076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x768c0f2953d1 - 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: 0x768c0f294f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x768c0c067185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x768c0f8e98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x768c0f8e9b69 - 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: 0x768c0f8e97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x768c0f49bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x768c0ff2cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x768c0ff2cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x768c0ff7b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x768c0ff7b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x768c0ff701de - 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: 0x768c0ffdff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x768c0fef5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x768c0fef551c - <::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: 0x768c0fef6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x768c11618ac3 - [INFO] [stderr] 38: 0x768c116a9a04 - 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-2024-12-31T19_39_57-9.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 `values::mutibility::::try_from` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `values::mutibility::::try_from` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [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 -> bb75 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x768c0e981caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x768c0f013cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x768c0ff28e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x768c0e981b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x768c0e983ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x768c0e983e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x768c0daeff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x768c0e9847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x768c0db2a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x768c0db1f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x768c0db1f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x768c0db342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x768c0e084fdc - ::span_bug:: [INFO] [stderr] 13: 0x768c0e10a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x768c0e0f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x768c0e0efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x768c0c534437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x768c0f9d541b - ::build_unwind_tree [INFO] [stderr] 18: 0x768c0f9cd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x768c0f007714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x768c0f0076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x768c0f2953d1 - 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: 0x768c0f294f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x768c0c067185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x768c0f8e98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x768c0f8e9b69 - 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: 0x768c0f8e97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x768c0f49bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x768c0ff2cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x768c0ff2cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x768c0ff7b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x768c0ff7b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x768c0ff701de - 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: 0x768c0ffdff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x768c0fef5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x768c0fef551c - <::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: 0x768c0fef6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x768c11618ac3 - [INFO] [stderr] 38: 0x768c116a9a04 - 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-2024-12-31T19_39_57-9.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 `values::mutibility::::from_str` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `values::mutibility::::from_str` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] error[E0507]: cannot move out of `self.id` as enum variant `Some` which is behind a shared reference [INFO] [stdout] --> src/values/typeid.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | let content = if let Some(id) = self.id { [INFO] [stdout] | -- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `id` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 32 | let content = if let Some(id) = &self.id { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImportDefinition` [INFO] [stdout] --> src/module/module.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | ImportDefinition::Function(f) => module.functions.push(f), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ImportDefinition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0507, E0560, E0596, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wrt` (lib) due to 24 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6962cf64fe6a0e95be0cb891c7091b095a22ce2e630c46c0aca8b3fc6ba1f14b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6962cf64fe6a0e95be0cb891c7091b095a22ce2e630c46c0aca8b3fc6ba1f14b", kill_on_drop: false }` [INFO] [stdout] 6962cf64fe6a0e95be0cb891c7091b095a22ce2e630c46c0aca8b3fc6ba1f14b