rultor.com logo This build log was produced by rultor.com for yegor256/dynamo-archive#16
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 10393
+ echo '1.57.7 433e64f'
1.57.7 433e64f
+ date
Thu Oct 15 22:28:16 UTC 2015
+ uptime
 22:28:16 up 43 days, 10:50,  0 users,  load average: 6.44, 7.38, 7.89
+ fork=git@github.com:jimmys/dynamo-archive.git
+ fork_branch=upgrade-sleep-to-2.0
+ head=git@github.com:yegor256/dynamo-archive.git
+ head_branch=master
+ pull_id=16
+ pull_title='Upgrade sleep to 2.0 to fix yosemite compilation problem'
+ vars=('--env=fork=git@github.com:jimmys/dynamo-archive.git' '--env=fork_branch=upgrade-sleep-to-2.0' '--env=head=git@github.com:yegor256/dynamo-archive.git' '--env=head_branch=master' '--env=pull_id=16' '--env=pull_title=Upgrade sleep to 2.0 to fix yosemite compilation problem')
+ image=yegor256/rultor
+ directory=
+ scripts=('npm install' ';' 'npm test' ';')
+ squash=false
+ ff=default
+ rebase=false
+ container=yegor256_dynamo-archive_16
+ as_root=false
+ mkdir -p /home/rultor/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/rultor/.ssh/config
+ git clone git@github.com:yegor256/dynamo-archive.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'npm install' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'npm install' ';' 'npm test' ';'
+ gpgconf --reload gpg-agent
+ gpg --keyserver hkp://pool.sks-keyservers.net --verbose --recv-keys 9AF0FA4C
gpg: requesting key 9AF0FA4C from hkp server pool.sks-keyservers.net
Version: SKS 1.1.5+
gpg: armor header:
Comment: Hostname: pks.aaiedu.hr
gpg: armor header:
gpg: pub  2048R/9AF0FA4C 2014-08-17  Rultor.com <gpg@rultor.com>
gpg: key 9AF0FA4C: "Rultor.com <gpg@rultor.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
+ gpg --version
gpg (GnuPG) 2.0.22
libgcrypt 1.5.3
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
++ pwd
++ pwd
+ gpg --verbose --keyring=/tmp/rultor-6M8e/.gpg/pubring.gpg --secret-keyring=/tmp/rultor-6M8e/.gpg/secring.gpg --decrypt repo/npmrc.asc
Version: GnuPG v1
gpg: armor header:
gpg: public key is 9A839C3A
gpg: using subkey 9A839C3A instead of primary key 9AF0FA4C
gpg: using subkey 9A839C3A instead of primary key 9AF0FA4C
gpg: encrypted with 2048-bit RSA key, ID 9A839C3A, created 2014-08-17
      "Rultor.com <gpg@rultor.com>"
gpg: AES256 encrypted data
gpg: original file name='npmrc.enc'
+ gpg --no-tty --batch --verbose --decrypt --passphrase rultor-key:yegor256/dynamo-archive npmrc.enc
Version: GnuPG v1
gpg: armor header:
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: original file name='npmrc'
gpg: WARNING: message was not integrity protected
+ rm -rf npmrc.enc
+ rm -rf .gpg
+ cd repo
+ git remote add fork git@github.com:jimmys/dynamo-archive.git
+ git remote update
Fetching origin
Fetching fork
From github.com:jimmys/dynamo-archive
 * [new branch]      master     -> fork/master
 * [new branch]      upgrade-sleep-to-2.0 -> fork/upgrade-sleep-to-2.0
+ args=
+ '[' default == default ']'
+ args=' --ff'
+ '[' default == no ']'
+ '[' default == only ']'
+ export BRANCH=__rultor
+ BRANCH=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ git checkout fork/upgrade-sleep-to-2.0
Note: checking out 'fork/upgrade-sleep-to-2.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e66787d... Upgrade sleep to 2.0 to fix yosemite compilation problem
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ git checkout master
Switched to branch 'master'
+ '[' false == true ']'
+ '[' false == true ']'
+ git merge --ff __rultor
Merge made by the 'recursive' strategy.
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
+ docker_when_possible
+ true
++ tail -n 1
++ uptime
++ sed 's/ /\n/g'
+ load=7.87
++ echo 7.87 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 7.87, low enough to run a new Docker container'
load average is 7.87, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor
+ docker pull yegor256/rultor
Trying to pull repository docker.io/yegor256/rultor ...
f62a2700bcd7: Pulling image (latest) from docker.io/yegor256/rultor
f62a2700bcd7: Pulling image (latest) from docker.io/yegor256/rultor, endpoint: https://registry-1.docker.io/v1/
f62a2700bcd7: Pulling dependent layers
0105f98ced6d: Download complete
66395c31eb82: Download complete
002fa881df8a: Download complete
a005e6b7dd01: Download complete
65b2ff2f735c: Download complete
148245cbc47c: Download complete
5f88fdc0cb0c: Download complete
9bc54b4c26c0: Download complete
a5a3cf8a9ed3: Download complete
0013bdcd1c8e: Download complete
6deff2b94630: Download complete
11a6ba4506be: Download complete
41e456538502: Download complete
4e3648913c02: Download complete
2438e1ec0c52: Download complete
64db974a4ac3: Download complete
4865d953fc2e: Download complete
fd503101f3a7: Download complete
8ce3737b93b3: Download complete
e5404d722f86: Download complete
a189368df1cf: Download complete
e7140187390b: Download complete
4d90c71f870f: Download complete
fcc3515739cd: Download complete
f47f1e35143e: Download complete
8c17fa3a4b47: Download complete
b6e32cc9ff47: Download complete
82d89f2fed61: Download complete
41ae6267c748: Download complete
0f93526a6d4e: Download complete
d3e2023671be: Download complete
67103bddcf5a: Download complete
2161c3292d85: Download complete
3aaa153eb392: Download complete
ed40d6c8c36d: Download complete
770f99f45990: Download complete
cc28d26c4f5a: Download complete
49c9ef64ecd5: Download complete
3277cdc0ec7c: Download complete
fe932d6993d9: Download complete
dd43f248f2f9: Download complete
a4912c3e3803: Download complete
f7dd6cdb1859: Download complete
f62a2700bcd7: Download complete
f62a2700bcd7: Download complete
Status: Image is up to date for docker.io/yegor256/rultor:latest
+ grep --quiet '\syegor256_dynamo-archive_16\s*$'
+ docker ps --filter=status=exited
++ pwd
++ pwd
+ docker run --rm -v /tmp/rultor-6M8e:/main --env=fork=git@github.com:jimmys/dynamo-archive.git --env=fork_branch=upgrade-sleep-to-2.0 --env=head=git@github.com:yegor256/dynamo-archive.git --env=head_branch=master --env=pull_id=16 '--env=pull_title=Upgrade sleep to 2.0 to fix yosemite compilation problem' --privileged=true --hostname=docker --memory=6g --cidfile=/tmp/rultor-6M8e/cid -w=/main --name=yegor256_dynamo-archive_16 yegor256/rultor /main/entry.sh
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.gem /root/.java /root/.m2 /root/.profile /home/r
+ cp -R ./cid ./entry.sh ./npmrc ./pid ./repo ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su -m r -c /home/r/script.sh
+ set -e
+ set -o pipefail
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ npm install
npm http GET https://registry.npmjs.org/aws-sdk
npm http GET https://registry.npmjs.org/minimist
npm http GET https://registry.npmjs.org/tape
npm http GET https://registry.npmjs.org/sleep
npm http GET https://registry.npmjs.org/faucet
npm http GET https://registry.npmjs.org/dynalite
npm http GET https://registry.npmjs.org/dotenv
npm http 200 https://registry.npmjs.org/faucet
npm http 200 https://registry.npmjs.org/minimist
npm http GET https://registry.npmjs.org/faucet/-/faucet-0.0.1.tgz
npm http GET https://registry.npmjs.org/minimist/-/minimist-1.1.3.tgz
npm http 200 https://registry.npmjs.org/dotenv
npm http 200 https://registry.npmjs.org/dynalite
npm http 200 https://registry.npmjs.org/faucet/-/faucet-0.0.1.tgz
npm http 200 https://registry.npmjs.org/minimist/-/minimist-1.1.3.tgz
npm http GET https://registry.npmjs.org/dotenv/-/dotenv-0.4.0.tgz
npm http 200 https://registry.npmjs.org/aws-sdk
npm http GET https://registry.npmjs.org/dynalite/-/dynalite-0.3.8.tgz
npm http GET https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.0.31.tgz
npm http 200 https://registry.npmjs.org/dotenv/-/dotenv-0.4.0.tgz
npm http 200 https://registry.npmjs.org/sleep
npm http GET https://registry.npmjs.org/sleep/-/sleep-2.0.0.tgz
npm http 200 https://registry.npmjs.org/dynalite/-/dynalite-0.3.8.tgz
npm http 200 https://registry.npmjs.org/tape
npm http GET https://registry.npmjs.org/tape/-/tape-2.13.4.tgz
npm http 200 https://registry.npmjs.org/sleep/-/sleep-2.0.0.tgz
npm http 200 https://registry.npmjs.org/tape/-/tape-2.13.4.tgz
npm http 200 https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.0.31.tgz
npm http GET https://registry.npmjs.org/nan
npm http 200 https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/duplexer
npm http GET https://registry.npmjs.org/sprintf
npm http GET https://registry.npmjs.org/minimist/0.0.5
npm http GET https://registry.npmjs.org/defined/0.0.0
npm http GET https://registry.npmjs.org/through2
npm http GET https://registry.npmjs.org/tap-parser
npm http GET https://registry.npmjs.org/tape/-/tape-2.3.3.tgz
npm http GET https://registry.npmjs.org/nan/-/nan-2.1.0.tgz
npm http 200 https://registry.npmjs.org/defined/0.0.0
npm http 200 https://registry.npmjs.org/tape/-/tape-2.3.3.tgz
npm http GET https://registry.npmjs.org/defined/-/defined-0.0.0.tgz
npm http 200 https://registry.npmjs.org/nan/-/nan-2.1.0.tgz
npm http 200 https://registry.npmjs.org/duplexer
npm http GET https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz
npm http 200 https://registry.npmjs.org/through2
npm http GET https://registry.npmjs.org/memdown
npm http GET https://registry.npmjs.org/level-sublevel
npm http 200 https://registry.npmjs.org/minimist/0.0.5
npm http GET https://registry.npmjs.org/lock
npm http 200 https://registry.npmjs.org/sprintf
npm http GET https://registry.npmjs.org/lazy
npm http GET https://registry.npmjs.org/once
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/big.js
npm http GET https://registry.npmjs.org/leveldown
npm http GET https://registry.npmjs.org/buffer-crc32
npm http GET https://registry.npmjs.org/levelup
npm http 200 https://registry.npmjs.org/tap-parser
npm http 200 https://registry.npmjs.org/defined/-/defined-0.0.0.tgz
npm http GET https://registry.npmjs.org/through2/-/through2-0.2.3.tgz
npm http 200 https://registry.npmjs.org/once
npm http 200 https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz
npm http GET https://registry.npmjs.org/minimist/-/minimist-0.0.5.tgz
npm http GET https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz
npm http GET https://registry.npmjs.org/sprintf/-/sprintf-0.1.5.tgz
npm http GET https://registry.npmjs.org/tap-parser/-/tap-parser-0.4.3.tgz
npm http GET https://registry.npmjs.org/once/-/once-1.3.2.tgz
npm http 200 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/lazy
npm http 200 https://registry.npmjs.org/memdown
npm http 200 https://registry.npmjs.org/through2/-/through2-0.2.3.tgz
npm http 200 https://registry.npmjs.org/big.js
npm http 200 https://registry.npmjs.org/buffer-crc32
npm http 200 https://registry.npmjs.org/minimist/-/minimist-0.0.5.tgz
npm http 200 https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz
npm http 200 https://registry.npmjs.org/once/-/once-1.3.2.tgz
npm http 200 https://registry.npmjs.org/tap-parser/-/tap-parser-0.4.3.tgz
npm http 200 https://registry.npmjs.org/sprintf/-/sprintf-0.1.5.tgz
npm http 200 https://registry.npmjs.org/lock
npm http GET https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http GET https://registry.npmjs.org/lazy/-/lazy-1.0.11.tgz
npm http GET https://registry.npmjs.org/memdown/-/memdown-0.7.1.tgz
npm http GET https://registry.npmjs.org/big.js/-/big.js-2.4.1.tgz
npm http GET https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.5.tgz
npm http 200 https://registry.npmjs.org/level-sublevel
npm http GET https://registry.npmjs.org/lock/-/lock-0.0.4.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http 200 https://registry.npmjs.org/lazy/-/lazy-1.0.11.tgz
npm http 200 https://registry.npmjs.org/levelup
npm http 200 https://registry.npmjs.org/lock/-/lock-0.0.4.tgz
npm http 200 https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.5.tgz
npm http GET https://registry.npmjs.org/level-sublevel/-/level-sublevel-5.1.1.tgz
npm http 200 https://registry.npmjs.org/leveldown
npm http GET https://registry.npmjs.org/levelup/-/levelup-0.18.6.tgz
npm http 200 https://registry.npmjs.org/big.js/-/big.js-2.4.1.tgz
npm http 200 https://registry.npmjs.org/memdown/-/memdown-0.7.1.tgz
npm http GET https://registry.npmjs.org/leveldown/-/leveldown-0.10.5.tgz
npm http 200 https://registry.npmjs.org/level-sublevel/-/level-sublevel-5.1.1.tgz
npm http GET https://registry.npmjs.org/object-inspect
npm http GET https://registry.npmjs.org/resumer
npm http GET https://registry.npmjs.org/through
npm http GET https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/defined
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/levelup/-/levelup-0.18.6.tgz
npm http 200 https://registry.npmjs.org/leveldown/-/leveldown-0.10.5.tgz
npm http 200 https://registry.npmjs.org/resumer
npm http 200 https://registry.npmjs.org/object-inspect
npm http 200 https://registry.npmjs.org/through
npm http 200 https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz
npm http GET https://registry.npmjs.org/object-inspect/-/object-inspect-0.4.0.tgz
npm http 200 https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/through/-/through-2.3.8.tgz
npm http GET https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm http GET https://registry.npmjs.org/deep-equal/-/deep-equal-0.2.2.tgz
npm http 200 https://registry.npmjs.org/defined
npm http 200 https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz
npm http GET https://registry.npmjs.org/glob/-/glob-3.2.11.tgz
npm http 200 https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm http 200 https://registry.npmjs.org/object-inspect/-/object-inspect-0.4.0.tgz
npm http 200 https://registry.npmjs.org/through/-/through-2.3.8.tgz
npm http 200 https://registry.npmjs.org/deep-equal/-/deep-equal-0.2.2.tgz
npm http 200 https://registry.npmjs.org/glob/-/glob-3.2.11.tgz
npm http GET https://registry.npmjs.org/xtend
npm http GET https://registry.npmjs.org/readable-stream
npm http 200 https://registry.npmjs.org/xtend
npm http 200 https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz
npm http GET https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz
npm http GET https://registry.npmjs.org/minimatch
npm http 200 https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz
npm http 200 https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz
npm http 200 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz
npm http GET https://registry.npmjs.org/jsonify
npm http GET https://registry.npmjs.org/deep-equal/-/deep-equal-0.1.2.tgz
npm http 200 https://registry.npmjs.org/jsonify
npm http GET https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz
npm http 200 https://registry.npmjs.org/deep-equal/-/deep-equal-0.1.2.tgz
npm http 200 https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz
npm http GET https://registry.npmjs.org/object-keys
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/object-keys
npm http 200 https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz
npm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz
npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.0.tgz
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/isarray/0.0.1
npm http GET https://registry.npmjs.org/string_decoder
npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz
npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.0.tgz
npm http 200 https://registry.npmjs.org/string_decoder
npm http 200 https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz
npm http 200 https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz
npm http GET https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz
npm http 200 https://registry.npmjs.org/isarray/0.0.1
npm http GET https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz
npm http 200 https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz
npm http 200 https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz
npm http 200 https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz
npm http GET https://registry.npmjs.org/xml2js/0.2.6
npm http GET https://registry.npmjs.org/xmlbuilder/0.4.2

> sleep@2.0.0 install /home/r/repo/node_modules/sleep
> node-gyp rebuild

npm http 200 https://registry.npmjs.org/xml2js/0.2.6
npm http GET https://registry.npmjs.org/xml2js/-/xml2js-0.2.6.tgz
npm http 200 https://registry.npmjs.org/xmlbuilder/0.4.2
npm http GET https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-0.4.2.tgz
npm http 200 https://registry.npmjs.org/xml2js/-/xml2js-0.2.6.tgz
npm http 200 https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-0.4.2.tgz
npm http GET https://registry.npmjs.org/sax/0.4.2
npm http 200 https://registry.npmjs.org/sax/0.4.2
npm http GET https://registry.npmjs.org/sax/-/sax-0.4.2.tgz
npm http 200 https://registry.npmjs.org/sax/-/sax-0.4.2.tgz
make: Entering directory `/home/r/repo/node_modules/sleep/build'
  CXX(target) Release/obj.target/node_sleep/sleep.o
../sleep.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Sleep(Nan::NAN_METHOD_ARGS_TYPE)’:
../sleep.cc:36:12: error: ‘NanScope’ was not declared in this scope
   NanScope();
            ^
../sleep.cc:38:7: error: ‘args’ was not declared in this scope
   if (args.Length() < 1 || !args[0]->IsUint32()) {
       ^
../sleep.cc:39:54: error: ‘NanThrowError’ was not declared in this scope
     return NanThrowError("Expected number of seconds");
                                                      ^
../sleep.cc:39:54: error: return-statement with a value, in function returning 'void' [-fpermissive]
../sleep.cc:42:9: error: ‘args’ was not declared in this scope
   sleep(args[0]->Uint32Value());
         ^
../sleep.cc:44:22: error: ‘NanReturnUndefined’ was not declared in this scope
   NanReturnUndefined();
                      ^
../sleep.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE USleep(Nan::NAN_METHOD_ARGS_TYPE)’:
../sleep.cc:48:12: error: ‘NanScope’ was not declared in this scope
   NanScope();
            ^
../sleep.cc:50:7: error: ‘args’ was not declared in this scope
   if (args.Length() < 1 || !args[0]->IsUint32()) {
       ^
../sleep.cc:51:59: error: ‘NanThrowError’ was not declared in this scope
     return NanThrowError("Expected number of microseconds");
                                                           ^
../sleep.cc:51:59: error: return-statement with a value, in function returning 'void' [-fpermissive]
../sleep.cc:54:10: error: ‘args’ was not declared in this scope
   usleep(args[0]->Uint32Value());
          ^
../sleep.cc:56:22: error: ‘NanReturnUndefined’ was not declared in this scope
   NanReturnUndefined();
                      ^
../sleep.cc: In function ‘void init(v8::Handle<v8::Object>)’:
../sleep.cc:61:16: error: ‘NanNew’ was not declared in this scope
   exports->Set(NanNew<String>("sleep"), NanNew<FunctionTemplate>(Sleep)->GetFunction());
                ^
../sleep.cc:61:29: error: expected primary-expression before ‘>’ token
   exports->Set(NanNew<String>("sleep"), NanNew<FunctionTemplate>(Sleep)->GetFunction());
                             ^
../sleep.cc:61:64: error: expected primary-expression before ‘>’ token
   exports->Set(NanNew<String>("sleep"), NanNew<FunctionTemplate>(Sleep)->GetFunction());
                                                                ^
../sleep.cc:61:74: error: request for member ‘GetFunction’ in ‘Sleep’, which is of non-class type ‘Nan::NAN_METHOD_RETURN_TYPE(Nan::NAN_METHOD_ARGS_TYPE) {aka void(const Nan::FunctionCallbackInfo<v8::Value>&)}’
   exports->Set(NanNew<String>("sleep"), NanNew<FunctionTemplate>(Sleep)->GetFunction());
                                                                          ^
../sleep.cc:62:29: error: expected primary-expression before ‘>’ token
   exports->Set(NanNew<String>("usleep"), NanNew<FunctionTemplate>(USleep)->GetFunction());
                             ^
../sleep.cc:62:65: error: expected primary-expression before ‘>’ token
   exports->Set(NanNew<String>("usleep"), NanNew<FunctionTemplate>(USleep)->GetFunction());
                                                                 ^
../sleep.cc:62:76: error: request for member ‘GetFunction’ in ‘USleep’, which is of non-class type ‘Nan::NAN_METHOD_RETURN_TYPE(Nan::NAN_METHOD_ARGS_TYPE) {aka void(const Nan::FunctionCallbackInfo<v8::Value>&)}’
   exports->Set(NanNew<String>("usleep"), NanNew<FunctionTemplate>(USleep)->GetFunction());
                                                                            ^
make: Leaving directory `/home/r/repo/node_modules/sleep/build'
make: *** [Release/obj.target/node_sleep/sleep.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.10.0-229.1.2.el7.x86_64
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/r/repo/node_modules/sleep
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! weird error 1
npm ERR! tar pack Error reading /home/r/tmp/npm-19-cVpKGHnQ/1444948114887-0.863243856234476/package
npm ERR! addLocalDirectory Could not pack "/home/r/tmp/npm-19-cVpKGHnQ/1444948114887-0.863243856234476/package" to "/home/r/.npm/leveldown/0.10.5/package.tgz"
npm WARN optional dep failed, continuing leveldown@~0.10.0
npm http GET https://registry.npmjs.org/wrappy
npm http GET https://registry.npmjs.org/abstract-leveldown
npm http GET https://registry.npmjs.org/bops
npm http 200 https://registry.npmjs.org/wrappy
npm http GET https://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz
npm http 200 https://registry.npmjs.org/bops
npm http GET https://registry.npmjs.org/bops/-/bops-0.1.1.tgz
npm http 200 https://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz
npm http GET https://registry.npmjs.org/level-fix-range
npm http GET https://registry.npmjs.org/string-range
npm http GET https://registry.npmjs.org/level-hooks
npm http GET https://registry.npmjs.org/xtend/-/xtend-2.0.6.tgz
npm http 200 https://registry.npmjs.org/bops/-/bops-0.1.1.tgz
npm http 200 https://registry.npmjs.org/abstract-leveldown
npm http 200 https://registry.npmjs.org/xtend/-/xtend-2.0.6.tgz
npm http GET https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-0.12.4.tgz
npm http 200 https://registry.npmjs.org/string-range
npm http 200 https://registry.npmjs.org/level-fix-range
npm http GET https://registry.npmjs.org/string-range/-/string-range-1.2.2.tgz
npm http GET https://registry.npmjs.org/level-fix-range/-/level-fix-range-2.0.0.tgz
npm http 200 https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-0.12.4.tgz
npm http 200 https://registry.npmjs.org/level-fix-range/-/level-fix-range-2.0.0.tgz
npm http 200 https://registry.npmjs.org/string-range/-/string-range-1.2.2.tgz
npm http 200 https://registry.npmjs.org/level-hooks
npm http GET https://registry.npmjs.org/errno
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/prr
npm http GET https://registry.npmjs.org/bl
npm http GET https://registry.npmjs.org/deferred-leveldown
npm http GET https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz
npm http GET https://registry.npmjs.org/xtend/-/xtend-3.0.0.tgz
npm http GET https://registry.npmjs.org/level-hooks/-/level-hooks-4.5.0.tgz
npm http 200 https://registry.npmjs.org/errno
npm http GET https://registry.npmjs.org/errno/-/errno-0.1.4.tgz
npm http 200 https://registry.npmjs.org/prr
npm http GET https://registry.npmjs.org/prr/-/prr-0.0.0.tgz
npm http 200 https://registry.npmjs.org/semver
npm http 200 https://registry.npmjs.org/bl
npm http 200 https://registry.npmjs.org/level-hooks/-/level-hooks-4.5.0.tgz
npm http 200 https://registry.npmjs.org/xtend/-/xtend-3.0.0.tgz
npm http 200 https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz
npm http 200 https://registry.npmjs.org/deferred-leveldown
npm http GET https://registry.npmjs.org/semver/-/semver-2.3.2.tgz
npm http GET https://registry.npmjs.org/bl/-/bl-0.8.2.tgz
npm http 200 https://registry.npmjs.org/errno/-/errno-0.1.4.tgz
npm http GET https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-0.2.0.tgz
npm http 200 https://registry.npmjs.org/prr/-/prr-0.0.0.tgz
npm http 200 https://registry.npmjs.org/bl/-/bl-0.8.2.tgz
npm http 200 https://registry.npmjs.org/semver/-/semver-2.3.2.tgz
npm http 200 https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-0.2.0.tgz
npm http GET https://registry.npmjs.org/clone
npm http GET https://registry.npmjs.org/is-object
npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
npm http GET https://registry.npmjs.org/object-keys/-/object-keys-0.2.0.tgz
npm http 200 https://registry.npmjs.org/clone
npm http 200 https://registry.npmjs.org/object-keys/-/object-keys-0.2.0.tgz
npm http 200 https://registry.npmjs.org/is-object
npm http GET https://registry.npmjs.org/clone/-/clone-0.1.19.tgz
npm http GET https://registry.npmjs.org/is-object/-/is-object-0.1.2.tgz
npm http 200 https://registry.npmjs.org/clone/-/clone-0.1.19.tgz
npm http 200 https://registry.npmjs.org/is-object/-/is-object-0.1.2.tgz
npm http GET https://registry.npmjs.org/base64-js/0.0.2
npm http GET https://registry.npmjs.org/to-utf8/0.0.1
npm http GET https://registry.npmjs.org/is
npm http GET https://registry.npmjs.org/foreach
npm http GET https://registry.npmjs.org/indexof
npm http 200 https://registry.npmjs.org/to-utf8/0.0.1
npm http 200 https://registry.npmjs.org/indexof
npm http 200 https://registry.npmjs.org/base64-js/0.0.2
npm http GET https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz
npm http GET https://registry.npmjs.org/to-utf8/-/to-utf8-0.0.1.tgz
npm http GET https://registry.npmjs.org/base64-js/-/base64-js-0.0.2.tgz
npm http 200 https://registry.npmjs.org/is
npm http 200 https://registry.npmjs.org/foreach
npm http 200 https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz
npm http 200 https://registry.npmjs.org/to-utf8/-/to-utf8-0.0.1.tgz
npm http GET https://registry.npmjs.org/is/-/is-0.2.7.tgz
npm http GET https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz
npm http 200 https://registry.npmjs.org/base64-js/-/base64-js-0.0.2.tgz
npm http GET https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/is/-/is-0.2.7.tgz
npm http 200 https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz
npm http 304 https://registry.npmjs.org/inherits
npm ERR! not ok code 0