Advertisement
Guest User

Fancy Ninja Stuff happening right here :O

a guest
Oct 17th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.72 KB | None | 0 0
  1. [1/14] Compiling Vala source ../src/connection_handler.vala ../src/server.vala ../src/types.vala ../src/client.vala.
  2. FAILED: valac '-d' 'nico-0.2@sha' '-C' '-H' 'connection_handler.h' '--library=nico-0.2' '--vapi=../connection_handler.vapi' '--pkg' 'glib-2.0' '--pkg' 'gio-2.0' '--pkg' 'json-glib-1.0' '--pkg' 'gtk+-3.0' ../src/connection_handler.vala ../src/server.vala ../src/types.vala ../src/client.vala
  3. ../src/connection_handler.vala:18.24-18.69: error: The name `to_string' does not exist in the context of `GLib.SocketAddress'
  4. var mine = this.connection.get_remote_address().to_string().split(":")[0];
  5. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  6. ../src/connection_handler.vala:18.17-18.85: error: var declaration not allowed with non-typed initializer
  7. var mine = this.connection.get_remote_address().to_string().split(":")[0];
  8. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  9. ../src/connection_handler.vala:19.26-19.42: error: The name `to_string' does not exist in the context of `GLib.SocketConnectable'
  10. var theirs = address.to_string().split(":")[0];
  11. ^^^^^^^^^^^^^^^^^
  12. ../src/connection_handler.vala:19.17-19.58: error: var declaration not allowed with non-typed initializer
  13. var theirs = address.to_string().split(":")[0];
  14. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  15. ../src/connection_handler.vala:20.20-20.23: error: The name `mine' does not exist in the context of `Nico.ConnectionHandler.is_from'
  16. return mine == theirs;
  17. ^^^^
  18. ../src/connection_handler.vala:18.24-18.59: warning: unhandled error `GLib.Error'
  19. var mine = this.connection.get_remote_address().to_string().split(":")[0];
  20. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  21. ../src/server.vala:38.78-38.89: error: The name `to_string' does not exist in the context of `GLib.SocketAddress'
  22. message("Dropped connection from %s. Double connection", ra.to_string());
  23. ^^^^^^^^^^^^
  24. ../src/server.vala:35.37-35.51: warning: unhandled error `GLib.Error'
  25. Socket connection = socket.accept();
  26. ^^^^^^^^^^^^^^^
  27. ../src/server.vala:36.26-36.56: warning: unhandled error `GLib.Error'
  28. var ra = connection.get_remote_address();
  29. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  30. ../src/server.vala:39.21-39.38: warning: unhandled error `GLib.Error'
  31. connection.close();
  32. ^^^^^^^^^^^^^^^^^^
  33. ../src/connection_handler.vala:135.17-135.39: warning: unhandled error `GLib.Error'
  34. this.connection.close();
  35. ^^^^^^^^^^^^^^^^^^^^^^^
  36. ../src/connection_handler.vala:11.21-11.35: error: The name `try' does not exist in the context of `GLib.Thread'
  37. new Thread<int>.try("connhandler", this.run);
  38. ^^^^^^^^^^^^^^^
  39. ../src/types.vala:97.24-97.45: warning: unhandled error `GLib.Error'
  40. var node = Json.from_string(data);
  41. ^^^^^^^^^^^^^^^^^^^^^^
  42. ../src/connection_handler.vala:104.17-104.39: warning: unhandled error `GLib.Error'
  43. this.connection.close();
  44. ^^^^^^^^^^^^^^^^^^^^^^^
  45. ../src/connection_handler.vala:117.21-117.35: error: The name `try' does not exist in the context of `GLib.Thread'
  46. new Thread<int>.try("update", update_thread_context.run);
  47. ^^^^^^^^^^^^^^^
  48. ../src/connection_handler.vala:73.13-73.35: warning: unhandled error `GLib.Error'
  49. this.connection.close();
  50. ^^^^^^^^^^^^^^^^^^^^^^^
  51. ../src/client.vala:42.21-42.35: error: The name `try' does not exist in the context of `GLib.Thread'
  52. new Thread<int>.try("incominghandler", this.listen);
  53. ^^^^^^^^^^^^^^^
  54. ../src/client.vala:35.31-35.99: warning: unhandled error `GLib.Error'
  55. this.connection = new Socket (SocketFamily.IPV4, SocketType.STREAM, SocketProtocol.TCP);
  56. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  57. ../src/client.vala:38.13-38.49: warning: unhandled error `GLib.Error'
  58. this.connection.connect (inetaddress);
  59. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  60. ../src/client.vala:69.17-69.39: warning: unhandled error `GLib.Error'
  61. this.connection.close();
  62. ^^^^^^^^^^^^^^^^^^^^^^^
  63. ../src/client.vala:92.17-92.39: warning: unhandled error `GLib.Error'
  64. this.connection.close();
  65. ^^^^^^^^^^^^^^^^^^^^^^^
  66. ../src/client.vala:110.21-110.93: warning: unhandled error `Nico.ClientError'
  67. throw new ClientError.UNKNOWN_LOCATION("Unknown location: %s", location);
  68. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  69. ../src/client.vala:126.17-126.39: warning: unhandled error `GLib.Error'
  70. this.connection.close();
  71. ^^^^^^^^^^^^^^^^^^^^^^^
  72. ../src/client.vala:149.17-149.39: warning: unhandled error `GLib.Error'
  73. this.connection.close();
  74. ^^^^^^^^^^^^^^^^^^^^^^^
  75. ../src/client.vala:157.17-157.47: warning: unhandled error `GLib.Error'
  76. this.connection.receive(msgbuf);
  77. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  78. ../src/client.vala:169.48-169.95: warning: unhandled error `GLib.Error'
  79. var session = (Session)Json.gobject_from_data(typeof(Session), content);
  80. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  81. Compilation failed: 9 error(s), 17 warning(s)
  82. ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement