make build-example-rust-simple fails with the following logs:
Error logs
```bash
error[E0658]: use of unstable library feature 'ptr_cast'
--> /Users/alexander.apalikov/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.19.0/src/pod.rs:65:66
|
65 | unsafe { slice::from_raw_parts(slice::from_ref(val).as_ptr().cast(), size) }
| ^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/60602
error: aborting due to 3 previous errors
For more information about this error, try rustc --explain E0658.
```
What happened:
make build-example-rust-simple is dependent on local rustc version.
What you expected to happen:
I expect the rust build process should be fired inside the container to make sure version is correct.
How to reproduce it (as minimally and precisely as possible):
$ rustc -V
1.36.0
$ make build-example-rust-simple
Anything else we need to know?:
Environment:
kubectl version):Also I was not able to build nodejs-simple example (make build-example-nodejs-simple):
Error logs
```bash
$ make build-example-nodejs-simple
npm WARN nodejs-simple No repository field.
npm WARN nodejs-simple No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-06-01T11_45_30_595Z-debug.log
The command '/bin/sh -c cd examples/nodejs-simple && npm install && npm rebuild' returned a non-zero code: 1
make[2]: * [build] Error 1
make[1]: [build-example] Error 2
make: ** [build-example-nodejs-simple] Error 2
```
Ah more node-gyp issues. Will try and take a look this weekend
I think this can be closed now, since I'm fairly sure we've updated the examples since this ticket was created?
Closing!