Skip to content

cargo web test fails on master #659

@dhardy

Description

@dhardy

This Travis job has started failing on master:

@alexcrichton can you solve or reassign?

$ cargo web test --nodejs --target wasm32-unknown-unknown --features=stdweb
warning: debug builds on the wasm32-unknown-unknown are currently totally broken
         forcing a release build
   Compiling proc-macro2 v0.4.24
   Compiling semver-parser v0.7.0
   Compiling unicode-xid v0.1.0
   Compiling ryu v0.2.7
   Compiling serde v1.0.80
   Compiling num-traits v0.2.6
   Compiling itoa v0.4.3
   Compiling num-integer v0.1.39
   Compiling stdweb-internal-runtime v0.1.2
   Compiling custom_derive v0.1.7
   Compiling base-x v0.2.3
   Compiling rand_core v0.3.0 (/home/travis/build/rust-random/rand/rand_core)
   Compiling float-ord v0.2.0
   Compiling discard v1.0.4
   Compiling semver v0.9.0
   Compiling conv v0.3.3
   Compiling rand_xorshift v0.1.0 (/home/travis/build/rust-random/rand/rand_xorshift)
   Compiling rand_isaac v0.1.1 (/home/travis/build/rust-random/rand/rand_isaac)
   Compiling rand_hc v0.1.0 (/home/travis/build/rust-random/rand/rand_hc)
   Compiling rustc_version v0.2.3
   Compiling quote v0.6.10
   Compiling serde_json v1.0.33
   Compiling stdweb-internal-macros v0.2.2
   Compiling rand_chacha v0.1.0 (/home/travis/build/rust-random/rand/rand_chacha)
   Compiling stdweb v0.4.10
   Compiling rand_pcg v0.1.1 (/home/travis/build/rust-random/rand/rand_pcg)
   Compiling rand v0.6.1 (/home/travis/build/rust-random/rand)
   Compiling syn v0.15.22
   Compiling average v0.9.2
   Compiling serde_derive v1.0.80
   Compiling stdweb-derive v0.5.1
    Finished release [optimized] target(s) in 3m 01s
    Garbage collecting "rand-7b95d3a8976c69c3.wasm"...
    Processing "rand-7b95d3a8976c69c3.wasm"...
warning: unsupported custom section: 'producers', please report this!
    Finished processing of "rand-7b95d3a8976c69c3.wasm"!
warning: debug builds on the wasm32-unknown-unknown are currently totally broken
         forcing a release build
   Compiling rand v0.6.1 (/home/travis/build/rust-random/rand)
    Finished release [optimized] target(s) in 4.35s
    Garbage collecting "uniformity-fe00c78ef661f1fc.wasm"...
    Processing "uniformity-fe00c78ef661f1fc.wasm"...
warning: unsupported custom section: 'producers', please report this!
    Finished processing of "uniformity-fe00c78ef661f1fc.wasm"!
/home/travis/.cache/cargo-web/bin/test_runner.js:305
            const ctor = WebAssembly.Instance;
                                    ^
ReferenceError: WebAssembly is not defined
    at /home/travis/.cache/cargo-web/bin/test_runner.js:305:37
    at Object.<anonymous> (/home/travis/.cache/cargo-web/bin/test_runner.js:327:3)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:383:7)
    at startup (bootstrap_node.js:149:9)
/home/travis/.cache/cargo-web/bin/test_runner.js:305
            const 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions