teensy3 0.2.0

Rust interface layer for the Teensy 3.1/3.2 microcontroller
Build #53541 2017-06-03T11:13:27.445182+00:00
# rustc version
rustc 1.19.0-dev (28a93c1f4 2017-05-31)# docs.rs version
cratesfyi 0.4.0-dev (bedcc0c 2017-06-01)# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading teensy3 v0.2.0
Downloading teensy3-sys v0.2.0
Downloading bindgen v0.23.1
Fresh bitflags v0.8.2
Fresh rustc-serialize v0.3.24
Fresh lazy_static v0.2.8
Fresh siphasher v0.2.2
Fresh strsim v0.6.0
Fresh itoa v0.3.1
Fresh regex-syntax v0.4.1
Fresh glob v0.2.11
Fresh libc v0.2.23
Fresh dtoa v0.4.1
Fresh syntex_pos v0.58.1
Fresh log v0.3.8
Fresh void v1.0.2
Fresh vec_map v0.8.0
Fresh unicode-width v0.1.4
Fresh unicode-xid v0.0.4
Fresh term_size v0.3.0
Fresh atty v0.2.2
Fresh thread-id v3.1.0
Fresh rand v0.3.15
Fresh memchr v1.0.1
Fresh serde v0.9.15
Fresh unicode-segmentation v1.2.0
Fresh ansi_term v0.9.0
Fresh utf8-ranges v1.0.0
Fresh cfg-if v0.1.0
Compiling clang-sys v0.15.2
Fresh nom v1.2.4
Fresh aho-corasick v0.6.3
Fresh phf_shared v0.7.21
Fresh term v0.4.5
Fresh clap v2.24.2
Fresh num-traits v0.1.37
Fresh unreachable v0.1.1
Running `rustc --crate-name build_script_build .cargo/registry/src/github.com-1ecc6299db9ec823/clang-sys-0.15.2/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="libloading"' --cfg 'feature="gte_clang_3_6"' --cfg 'feature="clang_3_9"' --cfg 'feature="gte_clang_3_8"' --cfg 'feature="gte_clang_3_7"' --cfg 'feature="runtime"' --cfg 'feature="gte_clang_3_9"' -C metadata=c683631f7ccc08ba -C extra-filename=-c683631f7ccc08ba --out-dir /home/cratesfyi/cratesfyi/debug/build/clang-sys-c683631f7ccc08ba -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern glob=/home/cratesfyi/cratesfyi/debug/deps/libglob-3660eba282c5ea68.rlib --extern-version glob=glob,0.2.11 --cap-lints allow`
Fresh cexpr v0.2.0
Fresh thread_local v0.3.3
Fresh regex v0.2.2
Fresh env_logger v0.4.3
Fresh serde_json v0.9.10
Fresh syntex_errors v0.58.1
Fresh syntex_syntax v0.58.1
Fresh syntex v0.58.1
Fresh quasi v0.32.0
Fresh aster v0.41.0
Fresh quasi_codegen v0.32.0
Compiling bindgen v0.23.1
Running `rustc --crate-name build_script_build .cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.23.1/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="env_logger"' --cfg 'feature="logging"' -C metadata=64d48dc068ea3021 -C extra-filename=-64d48dc068ea3021 --out-dir /home/cratesfyi/cratesfyi/debug/build/bindgen-64d48dc068ea3021 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern quasi_codegen=/home/cratesfyi/cratesfyi/debug/deps/libquasi_codegen-fc328db17cb453ca.rlib --extern-version quasi_codegen=quasi_codegen,0.32.0 --cap-lints allow`
Fresh phf_generator v0.7.21
Fresh phf v0.7.21
Fresh phf_codegen v0.7.21
Fresh target_build_utils v0.3.1
Fresh libloading v0.3.4
Running `/home/cratesfyi/cratesfyi/debug/build/clang-sys-c683631f7ccc08ba/build-script-build`
Running `rustc --crate-name clang_sys .cargo/registry/src/github.com-1ecc6299db9ec823/clang-sys-0.15.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="libloading"' --cfg 'feature="gte_clang_3_6"' --cfg 'feature="clang_3_9"' --cfg 'feature="gte_clang_3_8"' --cfg 'feature="gte_clang_3_7"' --cfg 'feature="runtime"' --cfg 'feature="gte_clang_3_9"' -C metadata=8f8cbef5cd03f4b0 -C extra-filename=-8f8cbef5cd03f4b0 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern glob=/home/cratesfyi/cratesfyi/debug/deps/libglob-3660eba282c5ea68.rlib --extern-version glob=glob,0.2.11 --extern libloading=/home/cratesfyi/cratesfyi/debug/deps/liblibloading-6cea262c35b7e9da.rlib --extern-version libloading=libloading,0.3.4 --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-496b028781a2b35b.rlib --extern-version libc=libc,0.2.23 --extern bitflags=/home/cratesfyi/cratesfyi/debug/deps/libbitflags-40c9799a6d297c75.rlib --extern-version bitflags=bitflags,0.8.2 --cap-lints allow`
Running `/home/cratesfyi/cratesfyi/debug/build/bindgen-64d48dc068ea3021/build-script-build`
Running `rustc --crate-name bindgen .cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.23.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="env_logger"' --cfg 'feature="logging"' -C metadata=09c11eb39c1d432f -C extra-filename=-09c11eb39c1d432f --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern aster=/home/cratesfyi/cratesfyi/debug/deps/libaster-11dc3c0a6a34d393.rlib --extern-version aster=aster,0.41.0 --extern env_logger=/home/cratesfyi/cratesfyi/debug/deps/libenv_logger-337736c567827560.rlib --extern-version env_logger=env_logger,0.4.3 --extern quasi=/home/cratesfyi/cratesfyi/debug/deps/libquasi-65bce70a0d1e89d6.rlib --extern-version quasi=quasi,0.32.0 --extern log=/home/cratesfyi/cratesfyi/debug/deps/liblog-4cfe391024f1467d.rlib --extern-version log=log,0.3.8 --extern cfg_if=/home/cratesfyi/cratesfyi/debug/deps/libcfg_if-f4039f90f22bcb1e.rlib --extern-version cfg_if=cfg-if,0.1.0 --extern syntex_syntax=/home/cratesfyi/cratesfyi/debug/deps/libsyntex_syntax-2e1a819c881a8b7f.rlib --extern-version syntex_syntax=syntex_syntax,0.58.1 --extern lazy_static=/home/cratesfyi/cratesfyi/debug/deps/liblazy_static-18005fa1be5dd889.rlib --extern-version lazy_static=lazy_static,0.2.8 --extern clap=/home/cratesfyi/cratesfyi/debug/deps/libclap-6938e7a78fa70c1e.rlib --extern-version clap=clap,2.24.2 --extern cexpr=/home/cratesfyi/cratesfyi/debug/deps/libcexpr-b522567e9cbac36f.rlib --extern-version cexpr=cexpr,0.2.0 --extern regex=/home/cratesfyi/cratesfyi/debug/deps/libregex-f57600d45f59abf1.rlib --extern-version regex=regex,0.2.2 --extern clang_sys=/home/cratesfyi/cratesfyi/debug/deps/libclang_sys-8f8cbef5cd03f4b0.rlib --extern-version clang_sys=clang-sys,0.15.2 --extern rustc_serialize=/home/cratesfyi/cratesfyi/debug/deps/librustc_serialize-d05828e9f8a2cc23.rlib --extern-version rustc_serialize=rustc-serialize,0.3.24 --cap-lints allow`
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 '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: ()', src/libcore/result.rs:859
note: Run with `RUST_BACKTRACE=1` for a backtrace.

)', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.