[INFO] cloning repository https://github.com/tetcoin/wasm-gc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tetcoin/wasm-gc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fwasm-gc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fwasm-gc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b373d8e0b74eaa9f55a896446d4e52995c18cc0e [INFO] checking tetcoin/wasm-gc against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fwasm-gc" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tetcoin/wasm-gc on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tetcoin/wasm-gc [INFO] finished tweaking git repo https://github.com/tetcoin/wasm-gc [INFO] tweaked toml for git repo https://github.com/tetcoin/wasm-gc written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tetsy-wasm v0.41.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 963857d5f5f9505bceadc79f738cb80fb13862ea03a603e66c93c26979cea783 [INFO] running `Command { std: "docker" "start" "-a" "963857d5f5f9505bceadc79f738cb80fb13862ea03a603e66c93c26979cea783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "963857d5f5f9505bceadc79f738cb80fb13862ea03a603e66c93c26979cea783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "963857d5f5f9505bceadc79f738cb80fb13862ea03a603e66c93c26979cea783", kill_on_drop: false }` [INFO] [stdout] 963857d5f5f9505bceadc79f738cb80fb13862ea03a603e66c93c26979cea783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab2c56e0b5a1107a21fa916b70da4c0facdfcb35a63a5c5c1bcf97a3bcf796ab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ab2c56e0b5a1107a21fa916b70da4c0facdfcb35a63a5c5c1bcf97a3bcf796ab", kill_on_drop: false }` [INFO] [stderr] Checking tetsy-wasm v0.41.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking tetsy-wasm-gc-api v0.1.12 (/opt/rustwide/workdir/wasm-gc-api) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wasm-gc-api/src/lib.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(module) = (&mut module as &mut Any).downcast_mut() { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wasm-gc-api/src/lib.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | let module = self.0 as Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wasm-gc-api/src/lib.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(module) = (&mut module as &mut Any).downcast_mut() { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> wasm-gc-api/src/lib.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | let module = self.0 as Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> wasm-gc-api/src/gc.rs:459:28 [INFO] [stdout] | [INFO] [stdout] 459 | self.add_init_expr(data.offset()); [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `tetsy_wasm::elements::InitExpr`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&tetsy_wasm::elements::InitExpr` [INFO] [stdout] found reference `&Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> wasm-gc-api/src/gc.rs:459:28 [INFO] [stdout] | [INFO] [stdout] 459 | self.add_init_expr(data.offset()); [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `tetsy_wasm::elements::InitExpr`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&tetsy_wasm::elements::InitExpr` [INFO] [stdout] found reference `&Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> wasm-gc-api/src/gc.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 467 | self.add_init_expr(seg.offset()); [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `tetsy_wasm::elements::InitExpr`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&tetsy_wasm::elements::InitExpr` [INFO] [stdout] found reference `&Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> wasm-gc-api/src/gc.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 467 | self.add_init_expr(seg.offset()); [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `tetsy_wasm::elements::InitExpr`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&tetsy_wasm::elements::InitExpr` [INFO] [stdout] found reference `&Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> wasm-gc-api/src/gc.rs:714:30 [INFO] [stdout] | [INFO] [stdout] 714 | self.remap_init_expr(s.offset_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `tetsy_wasm::elements::InitExpr`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut tetsy_wasm::elements::InitExpr` [INFO] [stdout] found mutable reference `&mut Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> wasm-gc-api/src/gc.rs:766:30 [INFO] [stdout] | [INFO] [stdout] 766 | self.remap_init_expr(segment.offset_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `tetsy_wasm::elements::InitExpr`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut tetsy_wasm::elements::InitExpr` [INFO] [stdout] found mutable reference `&mut Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Module` found for struct `tetsy_wasm::elements::NameSection` in the current scope [INFO] [stdout] --> wasm-gc-api/src/gc.rs:797:26 [INFO] [stdout] | [INFO] [stdout] 797 | NameSection::Module(_) => {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `tetsy_wasm::elements::NameSection` [INFO] [stdout] | help: there is an associated function with a similar name: `module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Function` found for struct `tetsy_wasm::elements::NameSection` in the current scope [INFO] [stdout] --> wasm-gc-api/src/gc.rs:798:26 [INFO] [stdout] | [INFO] [stdout] 798 | NameSection::Function(ref mut f) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `tetsy_wasm::elements::NameSection` [INFO] [stdout] | help: there is an associated function with a similar name: `functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Local` found for struct `tetsy_wasm::elements::NameSection` in the current scope [INFO] [stdout] --> wasm-gc-api/src/gc.rs:813:26 [INFO] [stdout] | [INFO] [stdout] 813 | NameSection::Local(ref mut l) => { [INFO] [stdout] | ^^^^^ associated item not found in `tetsy_wasm::elements::NameSection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> wasm-gc-api/src/gc.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 823 | NameSection::Unparsed { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `::Unparsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> wasm-gc-api/src/gc.rs:801:27 [INFO] [stdout] | [INFO] [stdout] 801 | for (idx, name) in mem::replace(map, new) { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> wasm-gc-api/src/gc.rs:801:36 [INFO] [stdout] | [INFO] [stdout] 801 | for (idx, name) in mem::replace(map, new) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(u32, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(u32, str)` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> wasm-gc-api/src/gc.rs:801:21 [INFO] [stdout] | [INFO] [stdout] 801 | for (idx, name) in mem::replace(map, new) { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(u32, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(u32, str)` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> wasm-gc-api/src/gc.rs:801:36 [INFO] [stdout] | [INFO] [stdout] 801 | for (idx, name) in mem::replace(map, new) { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tetsy-wasm-0.41.0/src/elements/index_map.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct IndexMap { [INFO] [stdout] | - required by this bound in `tetsy_wasm::elements::IndexMap` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> wasm-gc-api/src/gc.rs:800:27 [INFO] [stdout] | [INFO] [stdout] 800 | let new = IndexMap::with_capacity(map.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `tetsy_wasm::elements::IndexMap::::with_capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> wasm-gc-api/src/gc.rs:800:27 [INFO] [stdout] | [INFO] [stdout] 800 | let new = IndexMap::with_capacity(map.len()); [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tetsy-wasm-0.41.0/src/elements/index_map.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct IndexMap { [INFO] [stdout] | - required by this bound in `tetsy_wasm::elements::IndexMap` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> wasm-gc-api/src/gc.rs:806:25 [INFO] [stdout] | [INFO] [stdout] 803 | let name = if self.config.demangle { [INFO] [stdout] | ________________________________- [INFO] [stdout] 804 | | rustc_demangle::demangle(&name).to_string() [INFO] [stdout] | | ------------------------------------------- expected because of this [INFO] [stdout] 805 | | } else { [INFO] [stdout] 806 | | name [INFO] [stdout] | | ^^^^ expected struct `String`, found `str` [INFO] [stdout] 807 | | }; [INFO] [stdout] | |_____________________- `if` and `else` have incompatible types [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 805 | } else { [INFO] [stdout] 806 | name [INFO] [stdout] 807 | }.to_string(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> wasm-gc-api/src/gc.rs:714:30 [INFO] [stdout] | [INFO] [stdout] 714 | self.remap_init_expr(s.offset_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `tetsy_wasm::elements::InitExpr`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut tetsy_wasm::elements::InitExpr` [INFO] [stdout] found mutable reference `&mut Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetsy-wasm-gc-api` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> wasm-gc-api/src/gc.rs:766:30 [INFO] [stdout] | [INFO] [stdout] 766 | self.remap_init_expr(segment.offset_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `tetsy_wasm::elements::InitExpr`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut tetsy_wasm::elements::InitExpr` [INFO] [stdout] found mutable reference `&mut Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Module` found for struct `tetsy_wasm::elements::NameSection` in the current scope [INFO] [stdout] --> wasm-gc-api/src/gc.rs:797:26 [INFO] [stdout] | [INFO] [stdout] 797 | NameSection::Module(_) => {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `tetsy_wasm::elements::NameSection` [INFO] [stdout] | help: there is an associated function with a similar name: `module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Function` found for struct `tetsy_wasm::elements::NameSection` in the current scope [INFO] [stdout] --> wasm-gc-api/src/gc.rs:798:26 [INFO] [stdout] | [INFO] [stdout] 798 | NameSection::Function(ref mut f) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `tetsy_wasm::elements::NameSection` [INFO] [stdout] | help: there is an associated function with a similar name: `functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Local` found for struct `tetsy_wasm::elements::NameSection` in the current scope [INFO] [stdout] --> wasm-gc-api/src/gc.rs:813:26 [INFO] [stdout] | [INFO] [stdout] 813 | NameSection::Local(ref mut l) => { [INFO] [stdout] | ^^^^^ associated item not found in `tetsy_wasm::elements::NameSection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> wasm-gc-api/src/gc.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 823 | NameSection::Unparsed { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `::Unparsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> wasm-gc-api/src/gc.rs:801:27 [INFO] [stdout] | [INFO] [stdout] 801 | for (idx, name) in mem::replace(map, new) { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> wasm-gc-api/src/gc.rs:801:36 [INFO] [stdout] | [INFO] [stdout] 801 | for (idx, name) in mem::replace(map, new) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(u32, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(u32, str)` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> wasm-gc-api/src/gc.rs:801:21 [INFO] [stdout] | [INFO] [stdout] 801 | for (idx, name) in mem::replace(map, new) { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(u32, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(u32, str)` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> wasm-gc-api/src/gc.rs:801:36 [INFO] [stdout] | [INFO] [stdout] 801 | for (idx, name) in mem::replace(map, new) { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tetsy-wasm-0.41.0/src/elements/index_map.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct IndexMap { [INFO] [stdout] | - required by this bound in `tetsy_wasm::elements::IndexMap` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> wasm-gc-api/src/gc.rs:800:27 [INFO] [stdout] | [INFO] [stdout] 800 | let new = IndexMap::with_capacity(map.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `tetsy_wasm::elements::IndexMap::::with_capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> wasm-gc-api/src/gc.rs:800:27 [INFO] [stdout] | [INFO] [stdout] 800 | let new = IndexMap::with_capacity(map.len()); [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tetsy-wasm-0.41.0/src/elements/index_map.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct IndexMap { [INFO] [stdout] | - required by this bound in `tetsy_wasm::elements::IndexMap` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> wasm-gc-api/src/gc.rs:806:25 [INFO] [stdout] | [INFO] [stdout] 803 | let name = if self.config.demangle { [INFO] [stdout] | ________________________________- [INFO] [stdout] 804 | | rustc_demangle::demangle(&name).to_string() [INFO] [stdout] | | ------------------------------------------- expected because of this [INFO] [stdout] 805 | | } else { [INFO] [stdout] 806 | | name [INFO] [stdout] | | ^^^^ expected struct `String`, found `str` [INFO] [stdout] 807 | | }; [INFO] [stdout] | |_____________________- `if` and `else` have incompatible types [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 805 | } else { [INFO] [stdout] 806 | name [INFO] [stdout] 807 | }.to_string(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ab2c56e0b5a1107a21fa916b70da4c0facdfcb35a63a5c5c1bcf97a3bcf796ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2c56e0b5a1107a21fa916b70da4c0facdfcb35a63a5c5c1bcf97a3bcf796ab", kill_on_drop: false }` [INFO] [stdout] ab2c56e0b5a1107a21fa916b70da4c0facdfcb35a63a5c5c1bcf97a3bcf796ab