You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/12/16 21:41:45 UTC

[GitHub] [arrow] alamb commented on pull request #8864: ARROW-10838: [Rust] [CI] Add arrow build targeting wasm32

alamb commented on pull request #8864:
URL: https://github.com/apache/arrow/pull/8864#issuecomment-747058180


   I don't fully understand what this check is doing
   
   I see it did something which claims to have run `cargo build --target wasm32-unknown-unknown`:
   <img width="929" alt="Screen Shot 2020-12-16 at 4 34 47 PM" src="https://user-images.githubusercontent.com/490673/102409205-a6d04280-3fbc-11eb-928c-1c2213e8107e.png">
   
   But it takes a suspiciously short amount of time (8s) and when I do (seemingly) the same thing locally I get a bunch of compilation errors
   
   ```
    Compiling encode_unicode v0.3.6
   error[E0433]: failed to resolve: could not find `unix` in `os`
     --> /Users/alamb/.cargo/registry/src/github.com-1ecc6299db9ec823/dirs-1.0.5/src/lin.rs:41:18
      |
   41 |     use std::os::unix::ffi::OsStringExt;
      |                  ^^^^ could not find `unix` in `os`
   
   error[E0432]: unresolved import `unix`
    --> /Users/alamb/.cargo/registry/src/github.com-1ecc6299db9ec823/dirs-1.0.5/src/lin.rs:6:5
     |
   6 | use unix;
     |     ^^^^ no `unix` in the root
   
      Compiling hex v0.4.2
      Compiling tower-service v0.3.0
      Compiling alloc-no-stdlib v2.0.1
      Compiling adler32 v1.0.4
   error[E0599]: no function or associated item named `from_vec` found for struct `OsString` in the current scope
     --> /Users/alamb/.cargo/registry/src/github.com-1ecc6299db9ec823/dirs-1.0.5/src/lin.rs:48:34
      |
   48 |     Some(PathBuf::from(OsString::from_vec(out)))
      |                                  ^^^^^^^^ function or associated item not found in `OsString`
      |
      = help: items from traits can only be used if the trait is in scope
      = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
              `use std::sys_common::os_str_bytes::OsStringExt;`
   
   error: aborting due to 3 previous errors
   
   Some errors have detailed explanations: E0432, E0433, E0599.
   For more information about an error, try `rustc --explain E0432`.
   error: could not compile `dirs`
   
   To learn more, run the command again with --verbose.
   warning: build failed, waiting for other jobs to finish...
   error: build failed
   
   ```
   
   I probably don't have something installed right
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org