teensy3 0.2.0

Rust interface layer for the Teensy 3.1/3.2 microcontroller
Build #88916 2018-03-05T21:38:20.798362+00:00
# rustc version
rustc 1.26.0-dev (5c1d29af0 2018-03-03)# docs.rs version
cratesfyi 0.5.0 (579f83b 2018-03-05)# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading teensy3 v0.2.0
Downloading teensy3-sys v0.2.0
Fresh ansi_term v0.10.2
Fresh dtoa v0.4.2
Fresh cfg-if v0.1.2
Fresh term v0.4.6
Fresh serde v0.9.15
Fresh bitflags v0.8.2
Fresh unicode-width v0.1.4
Fresh void v1.0.2
Fresh libc v0.2.39
Fresh unicode-xid v0.0.4
Fresh log v0.4.1
Fresh bitflags v1.0.1
Fresh lazy_static v0.2.11
Fresh glob v0.2.11
Fresh regex-syntax v0.4.2
Fresh memchr v1.0.2
Fresh rand v0.4.2
Fresh log v0.3.9
Fresh memchr v2.0.1
Fresh itoa v0.3.4
Fresh unreachable v1.0.0
Fresh textwrap v0.9.0
Fresh utf8-ranges v1.0.0
Fresh strsim v0.7.0
Fresh rand v0.3.22
Fresh nom v3.2.1
Fresh aho-corasick v0.6.4
Fresh atty v0.2.6
Fresh vec_map v0.8.0
Fresh lazy_static v1.0.0
Fresh num-traits v0.2.1
Fresh rustc-serialize v0.3.24
Fresh cexpr v0.2.3
Fresh siphasher v0.2.2
Fresh clap v2.30.0
Fresh thread_local v0.3.5
Fresh num-traits v0.1.43
Fresh syntex_pos v0.58.1
Fresh phf_shared v0.7.21
Fresh regex v0.2.6
Fresh serde_json v0.9.10
Fresh syntex_errors v0.58.1
Fresh phf v0.7.21
Fresh phf_generator v0.7.21
Fresh env_logger v0.4.3
Fresh syntex_syntax v0.58.1
Fresh phf_codegen v0.7.21
Fresh syntex v0.58.1
Fresh aster v0.41.0
Fresh quasi v0.32.0
Fresh quasi_codegen v0.32.0
Fresh target_build_utils v0.3.1
Fresh libloading v0.3.4
Fresh clang-sys v0.15.2
Fresh bindgen v0.23.1
Compiling teensy3-sys v0.2.0
Running `rustc --crate-name build_script_build .cargo/registry/src/github.com-1ecc6299db9ec823/teensy3-sys-0.2.0/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=c1ed8bc866182520 -C extra-filename=-c1ed8bc866182520 --out-dir /home/cratesfyi/cratesfyi/debug/build/teensy3-sys-c1ed8bc866182520 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bindgen=/home/cratesfyi/cratesfyi/debug/deps/libbindgen-09c11eb39c1d432f.rlib --extern-version bindgen=bindgen,0.23.1 --cap-lints allow`
Running `/home/cratesfyi/cratesfyi/debug/build/teensy3-sys-c1ed8bc866182520/build-script-build`
thread 'main' panicked at 'Error(
CargoError(
Human(
failed to run custom build command for `teensy3-sys v0.2.0`
process didn't exit successfully: `/home/cratesfyi/cratesfyi/debug/build/teensy3-sys-c1ed8bc866182520/build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-search=native=/home/cratesfyi/cratesfyi/debug/build/teensy3-sys-28283badc1a85534/out
cargo:rustc-link-lib=static=teensyduino
warning: argument unused during compilation: '-mthumb' [-Wunused-command-line-argument], err: false
warning: argument unused during compilation: '-mcpu=cortex-m4' [-Wunused-command-line-argument], err: false
cores/teensy3/new.h:14:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch], err: false
cores/teensy3/new.h:15:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch], err: false
cores/teensy3/avr_emulation.h:226:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:230:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:234:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:238:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:242:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:246:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:250:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:254:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:260:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:265:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:270:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:275:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:280:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:285:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:290:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:295:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:445:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:449:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
cores/teensy3/avr_emulation.h:453:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information, err: true
fatal error: too many errors emitted, stopping now [-ferror-limit=], err: true

--- stderr
warning: argument unused during compilation: '-mthumb' [-Wunused-command-line-argument]
warning: argument unused during compilation: '-mcpu=cortex-m4' [-Wunused-command-line-argument]
cores/teensy3/new.h:14:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch]
cores/teensy3/new.h:15:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch]
cores/teensy3/avr_emulation.h:226:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:230:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:234:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:238:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:242:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:246:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:250:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:254:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:260:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:265:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:270:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:275:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:280:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:285:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:290:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:295:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:445:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:449:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
cores/teensy3/avr_emulation.h:453:3: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information
fatal error: too many errors emitted, stopping now [-ferror-limit=]
thread 'main' panicked at 'error when generating bindings: ()', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

)
),
State {
next_error: None,
backtrace: None
}
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.