Created
September 18, 2016 16:12
-
-
Save tikkal/958f1bf47126051f6cca3215d42d67bc to your computer and use it in GitHub Desktop.
Transcript of building rust_sodium on raspberry pi 3 (arch: armv7l)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script started on Sun 18 Sep 2016 15:58:02 UTC | |
pi_user@raspberrypi:~/src/maidsafe/rust_sodium $ ./go.sh | |
+ arch | |
armv7l | |
+ rustc --version | |
rustc 1.11.0 (9b21dcd6a 2016-08-15) | |
+ cargo --version | |
cargo 0.12.0-nightly (6b98d1f 2016-07-04) | |
+ git pull | |
Already up-to-date. | |
+ cargo clean | |
+ cargo build | |
Compiling libc v0.2.16 | |
Compiling gcc v0.3.35 | |
Compiling pkg-config v0.3.8 | |
Compiling rustc-serialize v0.3.19 | |
Compiling unwrap v1.1.0 | |
Compiling lazy_static v0.2.1 | |
Compiling miniz-sys v0.1.7 | |
Compiling rand v0.3.14 | |
Compiling xattr v0.1.10 | |
Compiling filetime v0.1.10 | |
Compiling tar v0.4.8 | |
Compiling flate2 v0.2.14 | |
Compiling rust_sodium-sys v0.1.1 (file:///home/pi_user/src/maidsafe/rust_sodium/rust_sodium-sys) | |
rust_sodium-sys/src/crypto_auth.rs:5:50: 5:100 error: trivial cast: `*const u8` as `*const u8`. Cast can be replaced by coercion, this might require type ascription or a temporary variable | |
rust_sodium-sys/src/crypto_auth.rs:5 pub const crypto_auth_PRIMITIVE: *const c_char = (b"hmacsha512256\0" as *const u8) as *const c_char; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
rust_sodium-sys/lib.rs:44:1: 44:32 note: in this expansion of include! | |
rust_sodium-sys/lib.rs:9:32: 9:40 note: lint level defined here | |
rust_sodium-sys/lib.rs:9 unknown_crate_types, warnings)] | |
^~~~~~~~ | |
rust_sodium-sys/src/crypto_box.rs:12:5: 12:68 error: trivial cast: `*const u8` as `*const u8`. Cast can be replaced by coercion, this might require type ascription or a temporary variable | |
rust_sodium-sys/src/crypto_box.rs:12 (b"curve25519xsalsa20poly1305\0" as *const u8) as *const c_char; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
rust_sodium-sys/lib.rs:49:1: 49:31 note: in this expansion of include! | |
rust_sodium-sys/lib.rs:9:32: 9:40 note: lint level defined here | |
rust_sodium-sys/lib.rs:9 unknown_crate_types, warnings)] | |
^~~~~~~~ | |
rust_sodium-sys/src/crypto_generichash.rs:10:5: 10:49 error: trivial cast: `*const u8` as `*const u8`. Cast can be replaced by coercion, this might require type ascription or a temporary variable | |
rust_sodium-sys/src/crypto_generichash.rs:10 (b"blake2b\0" as *const u8) as *const c_char; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
rust_sodium-sys/lib.rs:57:1: 57:39 note: in this expansion of include! | |
rust_sodium-sys/lib.rs:9:32: 9:40 note: lint level defined here | |
rust_sodium-sys/lib.rs:9 unknown_crate_types, warnings)] | |
^~~~~~~~ | |
rust_sodium-sys/src/crypto_hash.rs:4:50: 4:93 error: trivial cast: `*const u8` as `*const u8`. Cast can be replaced by coercion, this might require type ascription or a temporary variable | |
rust_sodium-sys/src/crypto_hash.rs:4 pub const crypto_hash_PRIMITIVE: *const c_char = (b"sha512\0" as *const u8) as *const c_char; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
rust_sodium-sys/lib.rs:60:1: 60:32 note: in this expansion of include! | |
rust_sodium-sys/lib.rs:9:32: 9:40 note: lint level defined here | |
rust_sodium-sys/lib.rs:9 unknown_crate_types, warnings)] | |
^~~~~~~~ | |
rust_sodium-sys/src/crypto_onetimeauth.rs:6:5: 6:50 error: trivial cast: `*const u8` as `*const u8`. Cast can be replaced by coercion, this might require type ascription or a temporary variable | |
rust_sodium-sys/src/crypto_onetimeauth.rs:6 (b"poly1305\0" as *const u8) as *const c_char; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
rust_sodium-sys/lib.rs:64:1: 64:39 note: in this expansion of include! | |
rust_sodium-sys/lib.rs:9:32: 9:40 note: lint level defined here | |
rust_sodium-sys/lib.rs:9 unknown_crate_types, warnings)] | |
^~~~~~~~ | |
rust_sodium-sys/src/crypto_pwhash_scryptsalsa208sha256.rs:6:5: 6:45 error: trivial cast: `*const u8` as `*const u8`. Cast can be replaced by coercion, this might require type ascription or a temporary variable | |
rust_sodium-sys/src/crypto_pwhash_scryptsalsa208sha256.rs:6 (b"$7$\0" as *const u8) as *const c_char; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
rust_sodium-sys/lib.rs:67:1: 67:55 note: in this expansion of include! | |
rust_sodium-sys/lib.rs:9:32: 9:40 note: lint level defined here | |
rust_sodium-sys/lib.rs:9 unknown_crate_types, warnings)] | |
^~~~~~~~ | |
rust_sodium-sys/src/crypto_scalarmult.rs:6:5: 6:52 error: trivial cast: `*const u8` as `*const u8`. Cast can be replaced by coercion, this might require type ascription or a temporary variable | |
rust_sodium-sys/src/crypto_scalarmult.rs:6 (b"curve25519\0" as *const u8) as *const c_char; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
rust_sodium-sys/lib.rs:69:1: 69:38 note: in this expansion of include! | |
rust_sodium-sys/lib.rs:9:32: 9:40 note: lint level defined here | |
rust_sodium-sys/lib.rs:9 unknown_crate_types, warnings)] | |
^~~~~~~~ | |
rust_sodium-sys/src/crypto_stream.rs:5:52: 5:97 error: trivial cast: `*const u8` as `*const u8`. Cast can be replaced by coercion, this might require type ascription or a temporary variable | |
rust_sodium-sys/src/crypto_stream.rs:5 pub const crypto_stream_PRIMITIVE: *const c_char = (b"xsalsa20\0" as *const u8) as *const c_char; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
rust_sodium-sys/lib.rs:76:1: 76:34 note: in this expansion of include! | |
rust_sodium-sys/lib.rs:9:32: 9:40 note: lint level defined here | |
rust_sodium-sys/lib.rs:9 unknown_crate_types, warnings)] | |
^~~~~~~~ | |
error: aborting due to 8 previous errors | |
error: Could not compile `rust_sodium-sys`. | |
To learn more, run the command again with --verbose. | |
real 4m26.071s | |
user 9m43.950s | |
sys 0m31.680s | |
pi_user@raspberrypi:~/src/maidsafe/rust_sodium $ exit | |
Script done on Sun 18 Sep 2016 16:03:06 UT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generated by this script:
pi_user@raspberrypi:~/src/maidsafe/rust_sodium $ cat go.sh
!/bin/bash -x
arch
rustc --version
cargo --version
git pull
cargo clean
time cargo build