[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/b373d8e0b74eaa9f55a896446d4e52995c18cc0e against master#57f772f25c5ce2bd870d6f8c3ab318eaee5a3326 for pr-133502-22
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fwasm-gc" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tetcoin/wasm-gc on toolchain 57f772f25c5ce2bd870d6f8c3ab318eaee5a3326
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 31 packages to latest compatible versions
[INFO] [stderr]       Adding cfg-if v0.1.10 (available: v1.0.4)
[INFO] [stderr]       Adding env_logger v0.5.13 (available: v0.11.10)
[INFO] [stderr]       Adding tetsy-wasm v0.41.0 (available: v0.42.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/wasm-gc-capi/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/wasm-gc-api/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded env_logger v0.5.13
[INFO] [stderr]   Downloaded tetsy-wasm v0.41.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc006129ca9f238ab4be846f8bce13ec4985643f0ae52f1565242daa4e22cc83
[INFO] running `Command { std: "docker" "start" "-a" "fc006129ca9f238ab4be846f8bce13ec4985643f0ae52f1565242daa4e22cc83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc006129ca9f238ab4be846f8bce13ec4985643f0ae52f1565242daa4e22cc83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc006129ca9f238ab4be846f8bce13ec4985643f0ae52f1565242daa4e22cc83", kill_on_drop: false }`
[INFO] [stdout] fc006129ca9f238ab4be846f8bce13ec4985643f0ae52f1565242daa4e22cc83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de39d5cbbacf5284056074a40dac7383c0a41f8a4d57db1a292da41614cdb702
[INFO] running `Command { std: "docker" "start" "-a" "de39d5cbbacf5284056074a40dac7383c0a41f8a4d57db1a292da41614cdb702", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: /opt/rustwide/workdir/wasm-gc-capi/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: /opt/rustwide/workdir/wasm-gc-api/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking rustc-demangle v0.1.27
[INFO] [stderr]     Checking tetsy-wasm v0.41.0
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking getopts v0.2.24
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking tetsy-wasm-gc-api v0.1.12 (/opt/rustwide/workdir/wasm-gc-api)
[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 `&InitExpr`, found `&Option<InitExpr>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&tetsy_wasm::elements::InitExpr`
[INFO] [stdout]                found reference `&Option<tetsy_wasm::elements::InitExpr>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> wasm-gc-api/src/gc.rs:367:8
[INFO] [stdout]     |
[INFO] [stdout] 367 |     fn add_init_expr(&mut self, t: &InitExpr) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^            ------------
[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 `&InitExpr`, found `&Option<InitExpr>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&tetsy_wasm::elements::InitExpr`
[INFO] [stdout]                found reference `&Option<tetsy_wasm::elements::InitExpr>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> wasm-gc-api/src/gc.rs:367:8
[INFO] [stdout]     |
[INFO] [stdout] 367 |     fn add_init_expr(&mut self, t: &InitExpr) {
[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 `&mut InitExpr`, found `&mut Option<InitExpr>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut tetsy_wasm::elements::InitExpr`
[INFO] [stdout]                found mutable reference `&mut Option<tetsy_wasm::elements::InitExpr>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> wasm-gc-api/src/gc.rs:677:8
[INFO] [stdout]     |
[INFO] [stdout] 677 |     fn remap_init_expr(&self, s: &mut InitExpr) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^        ----------------
[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 `&InitExpr`, found `&Option<InitExpr>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&tetsy_wasm::elements::InitExpr`
[INFO] [stdout]                found reference `&Option<tetsy_wasm::elements::InitExpr>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> wasm-gc-api/src/gc.rs:367:8
[INFO] [stdout]     |
[INFO] [stdout] 367 |     fn add_init_expr(&mut self, t: &InitExpr) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^            ------------
[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 `&mut InitExpr`, found `&mut Option<InitExpr>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut tetsy_wasm::elements::InitExpr`
[INFO] [stdout]                found mutable reference `&mut Option<tetsy_wasm::elements::InitExpr>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> wasm-gc-api/src/gc.rs:677:8
[INFO] [stdout]     |
[INFO] [stdout] 677 |     fn remap_init_expr(&self, s: &mut InitExpr) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^        ----------------
[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 `&InitExpr`, found `&Option<InitExpr>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&tetsy_wasm::elements::InitExpr`
[INFO] [stdout]                found reference `&Option<tetsy_wasm::elements::InitExpr>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> wasm-gc-api/src/gc.rs:367:8
[INFO] [stdout]     |
[INFO] [stdout] 367 |     fn add_init_expr(&mut self, t: &InitExpr) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^            ------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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]     |                          ^^^^^^ associated function or constant not found in `tetsy_wasm::elements::NameSection`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `module` with a similar name
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/name_section.rs:37:2
[INFO] [stdout]     |
[INFO] [stdout]  37 |     pub fn module(&self) -> Option<&ModuleNameSubsection> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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]     |                          ^^^^^^^^ associated function or constant not found in `tetsy_wasm::elements::NameSection`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `functions` with a similar name
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/name_section.rs:47:2
[INFO] [stdout]     |
[INFO] [stdout]  47 |     pub fn functions(&self) -> Option<&FunctionNameSubsection> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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 function or constant 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]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Unparsed` implemented for `tetsy_wasm::elements::NameSection`, you could use the fully-qualified path
[INFO] [stdout]     |
[INFO] [stdout] 823 -             NameSection::Unparsed { .. } => {}
[INFO] [stdout] 823 +             <tetsy_wasm::elements::NameSection as Example>::Unparsed { .. } => {}
[INFO] [stdout]     |
[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] 
[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: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `tetsy_wasm::elements::IndexMap`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/index_map.rs:22:21
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub struct IndexMap<T> {
[INFO] [stdout]     |                     ^ required by the implicit `Sized` requirement on this type parameter in `IndexMap`
[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: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `tetsy_wasm::elements::IndexMap`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/index_map.rs:22:21
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub struct IndexMap<T> {
[INFO] [stdout]     |                     ^ required by the implicit `Sized` requirement on this type parameter in `IndexMap`
[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 an implicit `Sized` bound in `tetsy_wasm::elements::IndexMap`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/index_map.rs:22:21
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub struct IndexMap<T> {
[INFO] [stdout]     |                     ^ required by the implicit `Sized` requirement on this type parameter in `IndexMap`
[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 a bound in `tetsy_wasm::elements::IndexMap::<T>::with_capacity`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/index_map.rs:30:6
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl<T> IndexMap<T> {
[INFO] [stdout]     |      ^ required by this bound in `IndexMap::<T>::with_capacity`
[INFO] [stdout] ...
[INFO] [stdout]  33 |     pub fn with_capacity(capacity: usize) -> IndexMap<T> {
[INFO] [stdout]     |            ------------- required by a bound in this associated function
[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:17
[INFO] [stdout]     |
[INFO] [stdout] 801 | /                 for (idx, name) in mem::replace(map, new) {
[INFO] [stdout] 802 | |                     let new_idx = self.functions[idx as usize];
[INFO] [stdout] 803 | |                     let name = if self.config.demangle {
[INFO] [stdout] 804 | |                         rustc_demangle::demangle(&name).to_string()
[INFO] [stdout] ...   |
[INFO] [stdout] 811 | |                 }
[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: required by an implicit `Sized` bound in `Option`
[INFO] [stdout]    --> /rustc/57f772f25c5ce2bd870d6f8c3ab318eaee5a3326/library/core/src/option.rs:597:0
[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 `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] 806 |                         name.to_string()
[INFO] [stdout]     |                             ++++++++++++
[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]    |                                                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 63 |         if let Some(module) = (&mut module as &mut dyn Any).downcast_mut() {
[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 `&mut InitExpr`, found `&mut Option<InitExpr>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut tetsy_wasm::elements::InitExpr`
[INFO] [stdout]                found mutable reference `&mut Option<tetsy_wasm::elements::InitExpr>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> wasm-gc-api/src/gc.rs:677:8
[INFO] [stdout]     |
[INFO] [stdout] 677 |     fn remap_init_expr(&self, s: &mut InitExpr) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^        ----------------
[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<Any>;
[INFO] [stdout]    |                                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let module = self.0 as Box<dyn Any>;
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `tetsy_wasm::elements::Section::DataCount(_)` not covered
[INFO] [stdout]    --> wasm-gc-api/src/gc.rs:132:28
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let retain = match module.sections_mut()[i] {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^ pattern `tetsy_wasm::elements::Section::DataCount(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `tetsy_wasm::elements::Section` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/section.rs:33:1
[INFO] [stdout]     |
[INFO] [stdout]  33 | pub enum Section {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     DataCount(u32),
[INFO] [stdout]     |     --------- not covered
[INFO] [stdout]     = note: the matched value is of type `tetsy_wasm::elements::Section`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
[INFO] [stdout]     |
[INFO] [stdout] 160 ~             Section::Name(ref mut s) => { cx.remap_name_section(s); true },
[INFO] [stdout] 161 +             tetsy_wasm::elements::Section::DataCount(_) => todo!()
[INFO] [stdout]     |
[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 `&mut InitExpr`, found `&mut Option<InitExpr>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut tetsy_wasm::elements::InitExpr`
[INFO] [stdout]                found mutable reference `&mut Option<tetsy_wasm::elements::InitExpr>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> wasm-gc-api/src/gc.rs:677:8
[INFO] [stdout]     |
[INFO] [stdout] 677 |     fn remap_init_expr(&self, s: &mut InitExpr) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^        ----------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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]     |                          ^^^^^^ associated function or constant not found in `tetsy_wasm::elements::NameSection`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `module` with a similar name
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/name_section.rs:37:2
[INFO] [stdout]     |
[INFO] [stdout]  37 |     pub fn module(&self) -> Option<&ModuleNameSubsection> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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]     |                          ^^^^^^^^ associated function or constant not found in `tetsy_wasm::elements::NameSection`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `functions` with a similar name
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/name_section.rs:47:2
[INFO] [stdout]     |
[INFO] [stdout]  47 |     pub fn functions(&self) -> Option<&FunctionNameSubsection> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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 function or constant 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]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Unparsed` implemented for `tetsy_wasm::elements::NameSection`, you could use the fully-qualified path
[INFO] [stdout]     |
[INFO] [stdout] 823 -             NameSection::Unparsed { .. } => {}
[INFO] [stdout] 823 +             <tetsy_wasm::elements::NameSection as Example>::Unparsed { .. } => {}
[INFO] [stdout]     |
[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] 
[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: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `tetsy_wasm::elements::IndexMap`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/index_map.rs:22:21
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub struct IndexMap<T> {
[INFO] [stdout]     |                     ^ required by the implicit `Sized` requirement on this type parameter in `IndexMap`
[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: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `tetsy_wasm::elements::IndexMap`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/index_map.rs:22:21
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub struct IndexMap<T> {
[INFO] [stdout]     |                     ^ required by the implicit `Sized` requirement on this type parameter in `IndexMap`
[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 an implicit `Sized` bound in `tetsy_wasm::elements::IndexMap`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/index_map.rs:22:21
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub struct IndexMap<T> {
[INFO] [stdout]     |                     ^ required by the implicit `Sized` requirement on this type parameter in `IndexMap`
[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 a bound in `tetsy_wasm::elements::IndexMap::<T>::with_capacity`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/index_map.rs:30:6
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl<T> IndexMap<T> {
[INFO] [stdout]     |      ^ required by this bound in `IndexMap::<T>::with_capacity`
[INFO] [stdout] ...
[INFO] [stdout]  33 |     pub fn with_capacity(capacity: usize) -> IndexMap<T> {
[INFO] [stdout]     |            ------------- required by a bound in this associated function
[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:17
[INFO] [stdout]     |
[INFO] [stdout] 801 | /                 for (idx, name) in mem::replace(map, new) {
[INFO] [stdout] 802 | |                     let new_idx = self.functions[idx as usize];
[INFO] [stdout] 803 | |                     let name = if self.config.demangle {
[INFO] [stdout] 804 | |                         rustc_demangle::demangle(&name).to_string()
[INFO] [stdout] ...   |
[INFO] [stdout] 811 | |                 }
[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: required by an implicit `Sized` bound in `Option`
[INFO] [stdout]    --> /rustc/57f772f25c5ce2bd870d6f8c3ab318eaee5a3326/library/core/src/option.rs:597:0
[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 `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] 806 |                         name.to_string()
[INFO] [stdout]     |                             ++++++++++++
[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]    |                                                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 63 |         if let Some(module) = (&mut module as &mut dyn Any).downcast_mut() {
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tetsy-wasm-gc-api` (lib) due to 16 previous errors; 2 warnings emitted
[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<Any>;
[INFO] [stdout]    |                                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let module = self.0 as Box<dyn Any>;
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `tetsy_wasm::elements::Section::DataCount(_)` not covered
[INFO] [stdout]    --> wasm-gc-api/src/gc.rs:132:28
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let retain = match module.sections_mut()[i] {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^ pattern `tetsy_wasm::elements::Section::DataCount(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `tetsy_wasm::elements::Section` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tetsy-wasm-0.41.0/src/elements/section.rs:33:1
[INFO] [stdout]     |
[INFO] [stdout]  33 | pub enum Section {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     DataCount(u32),
[INFO] [stdout]     |     --------- not covered
[INFO] [stdout]     = note: the matched value is of type `tetsy_wasm::elements::Section`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
[INFO] [stdout]     |
[INFO] [stdout] 160 ~             Section::Name(ref mut s) => { cx.remap_name_section(s); true },
[INFO] [stdout] 161 +             tetsy_wasm::elements::Section::DataCount(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0223, E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0223, E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tetsy-wasm-gc-api` (lib test) due to 16 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "de39d5cbbacf5284056074a40dac7383c0a41f8a4d57db1a292da41614cdb702", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de39d5cbbacf5284056074a40dac7383c0a41f8a4d57db1a292da41614cdb702", kill_on_drop: false }`
[INFO] [stdout] de39d5cbbacf5284056074a40dac7383c0a41f8a4d57db1a292da41614cdb702
