hdrhistogram 0.1.10

Binding to HdrHistogram_c library
Build #11308 2016-08-08T04:29:58.388572+00:00
# rustc version
rustc 1.12.0-nightly (54c0dcfd6 2016-07-28)
# docs.rs version
cratesfyi 0.2.0 (5dbd676 2016-07-30)

# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading hdrhistogram v0.1.10
Compiling libc v0.1.12
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.12/rust/src/liblibc/lib.rs --crate-name libc --crate-type lib -g --cfg feature=\"default\" --cfg feature=\"cargo-build\" -C metadata=0c57a2126eb1e7e8 -C extra-filename=-0c57a2126eb1e7e8 --out-dir /home/cratesfyi/hdrhistogram-0.1.10/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/hdrhistogram-0.1.10/debug/deps -L dependency=/home/cratesfyi/hdrhistogram-0.1.10/debug/deps --cap-lints allow`
Compiling gcc v0.3.32
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.32/src/lib.rs --crate-name gcc --crate-type lib -g -C metadata=ef3a0616dd2e0463 -C extra-filename=-ef3a0616dd2e0463 --out-dir /home/cratesfyi/hdrhistogram-0.1.10/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/hdrhistogram-0.1.10/debug/deps -L dependency=/home/cratesfyi/hdrhistogram-0.1.10/debug/deps --cap-lints allow`
Compiling cmake v0.1.17
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.17/src/lib.rs --crate-name cmake --crate-type lib -g -C metadata=c2fd9dcac690d902 -C extra-filename=-c2fd9dcac690d902 --out-dir /home/cratesfyi/hdrhistogram-0.1.10/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/hdrhistogram-0.1.10/debug/deps -L dependency=/home/cratesfyi/hdrhistogram-0.1.10/debug/deps --extern gcc=/home/cratesfyi/hdrhistogram-0.1.10/debug/deps/libgcc-ef3a0616dd2e0463.rlib --cap-lints allow`
Compiling hdrhistogram v0.1.10
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/build.rs --crate-name build_script_build --crate-type bin -g --out-dir /home/cratesfyi/hdrhistogram-0.1.10/debug/build/hdrhistogram-f19def0883bbea56 --emit=dep-info,link -L dependency=/home/cratesfyi/hdrhistogram-0.1.10/debug -L dependency=/home/cratesfyi/hdrhistogram-0.1.10/debug/deps --extern cmake=/home/cratesfyi/hdrhistogram-0.1.10/debug/deps/libcmake-c2fd9dcac690d902.rlib`
Running `/home/cratesfyi/hdrhistogram-0.1.10/debug/build/hdrhistogram-f19def0883bbea56/build-script-build`
thread 'main' panicked at 'ChainedError {
error: failed to compile `hdrhistogram v0.1.10`, intermediate artifacts can be found at `/home/cratesfyi/hdrhistogram-0.1.10`,
cause: Human(
failed to run custom build command for `hdrhistogram v0.1.10`
Process didn't exit successfully: `/home/cratesfyi/hdrhistogram-0.1.10/debug/build/hdrhistogram-f19def0883bbea56/build-script-build` (exit code: 101)
--- stdout
running: "cmake" "/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src" "-DCMAKE_INSTALL_PREFIX=/home/cratesfyi/hdrhistogram-0.1.10/debug/build/hdrhistogram-f19def0883bbea56/out" "-DCMAKE_C_FLAGS= -O0 -ffunction-sections -fdata-sections -m64 -fPIC" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -O0 -ffunction-sections -fdata-sections -m64 -fPIC" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Debug"
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cratesfyi/hdrhistogram-0.1.10/debug/build/hdrhistogram-f19def0883bbea56/out/build
running: "cmake" "--build" "." "--target" "install" "--config" "Debug" "--" "-j8"
Scanning dependencies of target hdr_histogram
Scanning dependencies of target hdr_histogram_static
[ 10%] [ 50%] [ 50%] [ 50%] [ 50%] [ 60%] [ 70%] Building C object CMakeFiles/hdr_histogram.dir/hdr_histogram.o
Building C object CMakeFiles/hdr_histogram.dir/hdr_histogram_log.o
[ 80%] Building C object CMakeFiles/hdr_histogram.dir/hdr_writer_reader_phaser.o
Building C object CMakeFiles/hdr_histogram_static.dir/hdr_histogram_log.o
Building C object CMakeFiles/hdr_histogram_static.dir/hdr_histogram.o
Building C object CMakeFiles/hdr_histogram.dir/hdr_encoding.o
Building C object CMakeFiles/hdr_histogram_static.dir/hdr_encoding.o
Building C object CMakeFiles/hdr_histogram_static.dir/hdr_writer_reader_phaser.o
CMakeFiles/hdr_histogram.dir/build.make:54: recipe for target 'CMakeFiles/hdr_histogram.dir/hdr_encoding.o' failed
CMakeFiles/hdr_histogram_static.dir/build.make:54: recipe for target 'CMakeFiles/hdr_histogram_static.dir/hdr_encoding.o' failed
CMakeFiles/hdr_histogram_static.dir/build.make:100: recipe for target 'CMakeFiles/hdr_histogram_static.dir/hdr_histogram.o' failed
[ 90%] CMakeFiles/hdr_histogram.dir/build.make:100: recipe for target 'CMakeFiles/hdr_histogram.dir/hdr_histogram.o' failed
CMakeFiles/hdr_histogram.dir/build.make:77: recipe for target 'CMakeFiles/hdr_histogram.dir/hdr_histogram_log.o' failed
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/hdr_histogram.dir/all' failed
CMakeFiles/hdr_histogram_static.dir/build.make:77: recipe for target 'CMakeFiles/hdr_histogram_static.dir/hdr_histogram_log.o' failed
Building C object CMakeFiles/hdr_histogram_static.dir/hdr_interval_recorder.o
CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/hdr_histogram_static.dir/all' failed
Makefile:117: recipe for target 'all' failed

--- stderr
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present.  A line of code such as

cmake_minimum_required(VERSION 3.0)

should be added at the top of the file.  The version specified may be lower
if you wish to support older CMake versions for this project.  For more
information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_encoding.c: In function ‘base64_decode’:
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_encoding.c:304:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0, j = 0; i < input_len; i += 4, j += 3)
^
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_encoding.c:304:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_encoding.c: In function ‘base64_decode’:
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_encoding.c:304:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0, j = 0; i < input_len; i += 4, j += 3)
^
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_encoding.c:304:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram.c: In function ‘hdr_reset_internal_counters’:
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram.c:186:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < h->counts_len; i++)
^
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram.c:186:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
make[2]: *** [CMakeFiles/hdr_histogram.dir/hdr_encoding.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/hdr_histogram_static.dir/hdr_encoding.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram.c: In function ‘hdr_reset_internal_counters’:
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram.c:186:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < h->counts_len; i++)
^
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram.c:186:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c: In function ‘hdr_encode_compressed’:
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c:237:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < counts_limit;)
^
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c:237:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c: In function ‘_apply_to_counts_16’:
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c:314:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < counts_limit; i++)
^
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c: In function ‘_apply_to_counts_32’:
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c:322:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < counts_limit; i++)
^
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c: In function ‘_apply_to_counts_64’:
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c:330:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < counts_limit; i++)
^
make[2]: *** [CMakeFiles/hdr_histogram_static.dir/hdr_histogram.o] Error 1
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c: In function ‘hdr_encode_compressed’:
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c:237:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < counts_limit;)
^
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c:237:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c: In function ‘_apply_to_counts_16’:
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c:314:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < counts_limit; i++)
^
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c: In function ‘_apply_to_counts_32’:
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c:322:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < counts_limit; i++)
^
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c: In function ‘_apply_to_counts_64’:
/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hdrhistogram-0.1.10/HdrHistogram_c/src/hdr_histogram_log.c:330:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < counts_limit; i++)
^
make[2]: *** [CMakeFiles/hdr_histogram.dir/hdr_histogram.o] Error 1
make[2]: *** [CMakeFiles/hdr_histogram.dir/hdr_histogram_log.o] Error 1
make[1]: *** [CMakeFiles/hdr_histogram.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/hdr_histogram_static.dir/hdr_histogram_log.o] Error 1
make[1]: *** [CMakeFiles/hdr_histogram_static.dir/all] Error 2
make: *** [all] Error 2
thread 'main' panicked at '
command did not execute successfully, got: exit code: 2

build script failed, must exit now', .cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.17/src/lib.rs:463
note: Run with `RUST_BACKTRACE=1` for a backtrace.

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