Skip to content

Failing CI tests #32

Description

@ltfschoen

When the CI Test build runs cargo test in here https://github.com/DataHighway-DHX/node/runs/459859012, it's generating the following error:

   Compiling js-sys v0.3.35
error[E0603]: struct `Memory` is private
    --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:4873:60
     |
4873 |                 let mem = buf.unchecked_ref::<WebAssembly::Memory>();
     |                                                            ^^^^^^ this struct is private
     |
note: the struct `Memory` is defined here
    --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:3516:5
     |
3516 |     #[wasm_bindgen]
     |     ^^^^^^^^^^^^^^^
     = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)

Activity

  1. ltfschoen commented on Feb 21, 2020

    @ltfschoen
    CollaboratorAuthor

    This could be because we're not installing the latest Rust versions in the CI Test section https://github.com/DataHighway-DHX/node/blob/master/.github/workflows/rust.yml#L55, only in the CI Linting section https://github.com/DataHighway-DHX/node/blob/master/.github/workflows/rust.yml#L86

  2. ltfschoen commented on Feb 21, 2020

    @ltfschoen
    CollaboratorAuthor

    This is caused by rust-lang/rust#69334, we've made changes here to try and fix it by using older versions of Rust Nightly that are known to work #29

  3. added
    +P1Highest priority, address as soon as possible
    -size-mTask of medium size
    on Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    +P1Highest priority, address as soon as possible-size-mTask of medium size[tests]

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions