See <http://buildbot.snapframework.com/job/snap-server/99/changes>
Changes:
[Shu-yu Guo] Add our own sendfile wrappers so we can do timeout
[Shu-yu Guo] Add our own sendfile
[Shu-yu Guo] Merge branch 'master' of git.snapframework.com:snap-server
------------------------------------------
[...truncated 433 lines...]
Warning: The import of `Stream.readLine, Stream.readBlock,
Stream.writeBlock, Stream.close, Stream.closeOnEnd'
from module `Network.Stream' is redundant
[11 of 18] Compiling Network.StreamDebugger ( Network/StreamDebugger.hs,
dist/build/Network/StreamDebugger.o )
Network/StreamDebugger.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
[12 of 18] Compiling Network.StreamSocket ( Network/StreamSocket.hs,
dist/build/Network/StreamSocket.o )
Network/StreamSocket.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
Network/StreamSocket.hs:54:9:
Warning: orphan instance: instance Stream Socket
[13 of 18] Compiling Network.HTTP.Auth ( Network/HTTP/Auth.hs,
dist/build/Network/HTTP/Auth.o )
Network/HTTP/Auth.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
Network/HTTP/Auth.hs:161:30:
Warning: A do-notation statement discarded a result of type Char.
Suppress this warning by saying "_ <- char ','",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/Auth.hs:165:17:
Warning: A do-notation statement discarded a result of type Char.
Suppress this warning by saying "_ <- char '='",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/Auth.hs:213:9:
Warning: A do-notation statement discarded a result of type Char.
Suppress this warning by saying "_ <- char '"'",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/Auth.hs:215:9:
Warning: A do-notation statement discarded a result of type Char.
Suppress this warning by saying "_ <- char '"'",
or by using the flag -fno-warn-unused-do-bind
[14 of 18] Compiling Network.HTTP.Proxy ( Network/HTTP/Proxy.hs,
dist/build/Network/HTTP/Proxy.o )
Network/HTTP/Proxy.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
[15 of 18] Compiling Network.HTTP.HandleStream ( Network/HTTP/HandleStream.hs,
dist/build/Network/HTTP/HandleStream.o )
Network/HTTP/HandleStream.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
Network/HTTP/HandleStream.hs:113:2:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn (($) buf_fromStr
bufferOps show rqst)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/HandleStream.hs:115:2:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn (rqBody rqst)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/HandleStream.hs:151:8:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn
((buf_append bufferOps)
(buf_fromStr bufferOps
(show rqst))
(rqBody rqst))",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/HandleStream.hs:229:2:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn (($) buf_fromStr
bufferOps show rsp)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/HandleStream.hs:231:2:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn (rspBody rsp)",
or by using the flag -fno-warn-unused-do-bind
[16 of 18] Compiling Network.HTTP ( Network/HTTP.hs,
dist/build/Network/HTTP.o )
Network/HTTP.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
[17 of 18] Compiling Network.HTTP.Stream ( Network/HTTP/Stream.hs,
dist/build/Network/HTTP/Stream.o )
Network/HTTP/Stream.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
Network/HTTP/Stream.hs:109:3:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock conn (show rqst)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/Stream.hs:111:3:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn (rqBody rqst)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/Stream.hs:156:25:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn ((++) show rqst
rqBody rqst)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/Stream.hs:227:26:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock conn (show rsp)",
or by using the flag -fno-warn-unused-do-bind
Network/HTTP/Stream.hs:229:26:
Warning: A do-notation statement discarded a result of type Result
().
Suppress this warning by saying "_ <- writeBlock
conn (rspBody rsp)",
or by using the flag -fno-warn-unused-do-bind
[18 of 18] Compiling Network.Browser ( Network/Browser.hs,
dist/build/Network/Browser.o )
Network/Browser.hs:1:0:
Warning: Module `Prelude' is deprecated:
You are using the old package `base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
Network/Browser.hs:963:2:
Warning: A do-notation statement discarded a result of type (BrowserState
t,
()).
Suppress this warning by saying "_ <- (lift (evh x)) st",
or by using the flag -fno-warn-unused-do-bind
Registering HTTP-4000.0.9...
Installing library in /home/hudson/.cabal/lib/HTTP-4000.0.9/ghc-6.12.1
Registering HTTP-4000.0.9...
Configuring hlibev-0.2.3...
Preprocessing library hlibev-0.2.3...
Building hlibev-0.2.3...
[1 of 1] Compiling Network.Libev ( dist/build/Network/Libev.hs,
dist/build/Network/Libev.o )
Network/Libev.hsc:132:5:
Warning: Defined but not used:
type constructor or class `EvWatcherPtr'
Registering hlibev-0.2.3...
Installing library in /home/hudson/.cabal/lib/hlibev-0.2.3/ghc-6.12.1
Registering hlibev-0.2.3...
[1 of 1] Compiling Main (
/tmp/network-bytestring-0.1.319468/network-bytestring-0.1.3/Setup.hs,
/tmp/network-bytestring-0.1.319468/network-bytestring-0.1.3/dist/setup/Main.o )
Linking
/tmp/network-bytestring-0.1.319468/network-bytestring-0.1.3/dist/setup/setup ...
Configuring network-bytestring-0.1.3...
Preprocessing library network-bytestring-0.1.3...
Building network-bytestring-0.1.3...
[1 of 5] Compiling Network.Socket.ByteString.IOVec (
dist/build/Network/Socket/ByteString/IOVec.hs,
dist/build/Network/Socket/ByteString/IOVec.o )
[2 of 5] Compiling Network.Socket.ByteString.MsgHdr (
dist/build/Network/Socket/ByteString/MsgHdr.hs,
dist/build/Network/Socket/ByteString/MsgHdr.o )
[3 of 5] Compiling Network.Socket.ByteString.Internal (
Network/Socket/ByteString/Internal.hs,
dist/build/Network/Socket/ByteString/Internal.o )
[4 of 5] Compiling Network.Socket.ByteString ( Network/Socket/ByteString.hs,
dist/build/Network/Socket/ByteString.o )
[5 of 5] Compiling Network.Socket.ByteString.Lazy (
dist/build/Network/Socket/ByteString/Lazy.hs,
dist/build/Network/Socket/ByteString/Lazy.o )
Registering network-bytestring-0.1.3...
Installing library in
/home/hudson/.cabal/lib/network-bytestring-0.1.3/ghc-6.12.1
Registering network-bytestring-0.1.3...
Downloading sendfile-0.6.2...
Configuring sendfile-0.6.2...
Preprocessing library sendfile-0.6.2...
Building sendfile-0.6.2...
[1 of 3] Compiling Network.Socket.SendFile.Linux (
dist/build/Network/Socket/SendFile/Linux.hs,
dist/build/Network/Socket/SendFile/Linux.o )
[2 of 3] Compiling Network.Socket.SendFile.Internal (
src/Network/Socket/SendFile/Internal.hs,
dist/build/Network/Socket/SendFile/Internal.o )
src/Network/Socket/SendFile/Internal.hs:22:0:
Warning: The import of `flushWriteBuffer'
from module `GHC.IO.Handle.Internals' is redundant
src/Network/Socket/SendFile/Internal.hs:23:0:
Warning: The import of `HandleType'
from module `GHC.IO.Handle.Types' is redundant
[3 of 3] Compiling Network.Socket.SendFile ( src/Network/Socket/SendFile.hs,
dist/build/Network/Socket/SendFile.o )
Registering sendfile-0.6.2...
Installing library in /home/hudson/.cabal/lib/sendfile-0.6.2/ghc-6.12.1
Registering sendfile-0.6.2...
Configuring snap-server-testsuite-0.1.1...
Warning: 'hs-source-dirs: ../src' is a relative path outside of the source
tree. This will not work when generating a tarball with 'sdist'.
Warning: 'hs-source-dirs: ../src' is a relative path outside of the source
tree. This will not work when generating a tarball with 'sdist'.
Warning: 'hs-source-dirs: ../src' is a relative path outside of the source
tree. This will not work when generating a tarball with 'sdist'.
Preprocessing executables for snap-server-testsuite-0.1.1...
Building snap-server-testsuite-0.1.1...
[ 1 of 10] Compiling Snap.Test.Common ( suite/Snap/Test/Common.hs,
dist/build/testsuite/testsuite-tmp/Snap/Test/Common.o )
suite/Snap/Test/Common.hs:10:0:
Warning: The import of `Test.QuickCheck.Gen' is redundant
except perhaps to import instances from `Test.QuickCheck.Gen'
To import instances alone, use: import Test.QuickCheck.Gen()
[ 2 of 10] Compiling Paths_snap_server ( suite/Paths_snap_server.hs,
dist/build/testsuite/testsuite-tmp/Paths_snap_server.o )
[ 3 of 10] Compiling Snap.Internal.Http.Server.Date (
../src/Snap/Internal/Http/Server/Date.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Server/Date.o )
[ 4 of 10] Compiling Snap.Internal.Http.Server.LibevBackend (
../src/Snap/Internal/Http/Server/LibevBackend.hs,
dist/build/testsuite/testsuite-tmp/Snap/Internal/Http/Server/LibevBackend.o )
../src/Snap/Internal/Http/Server/LibevBackend.hs:126:10:
Not in scope: `openFd'
../src/Snap/Internal/Http/Server/LibevBackend.hs:126:20:
Not in scope: data constructor `ReadOnly'
../src/Snap/Internal/Http/Server/LibevBackend.hs:126:37:
Not in scope: `defaultFileFlags'
../src/Snap/Internal/Http/Server/LibevBackend.hs:138:20:
Not in scope: `SF.sendFile'
../src/Snap/Internal/Http/Server/LibevBackend.hs:143:11:
Not in scope: data constructor `Fd'
cabal: Error: some packages failed to install:
snap-server-testsuite-0.1.1 failed during the building phase. The exception
was:
ExitFailure 1
Publishing Javadoc
Recording test results
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level
<http://buildbot.snapframework.com/job/snap-server/ws/test/dist/hpc> to
/home/hudson/data/jobs/snap-server/htmlreports/HTML_Report
ERROR: Specified HTML directory
'<http://buildbot.snapframework.com/job/snap-server/ws/test/dist/hpc'> does not
exist.
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap