Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 KB | None | 0 0
  1. "C:\Swift\bin\bin\swiftc.exe" -swift-version 4 "C:\Swift\bin\bin\main.swift" -o "C:\Swift\bin\RuntimeEnv\main.exe"
  2.  
  3. C:\Swift\bin\bin\main.swift:17:13: error: use of unresolved identifier 'Map'
  4. let world = Map.createMap()
  5. ^~~
  6. Swift.swap:1:13: note: did you mean 'swap'?
  7. public func swap<T>(_ a: inout T, _ b: inout T)
  8. ^
  9. C:\Swift\bin\bin\main.swift:19:16: error: use of unresolved identifier 'Dijkstra'
  10. let dijkstra = Dijkstra(world)
  11. ^~~~~~~~
  12. C:\Swift\bin\bin\main.swift:21:13: error: use of undeclared type 'City'
  13. let source: City
  14. ^~~~
  15. C:\Swift\bin\bin\main.swift:22:18: error: use of undeclared type 'City'
  16. let destination: City
  17. ^~~~
  18. C:\Swift\bin\bin\main.swift:24:15: error: use of unresolved identifier 'City'
  19. if let from = City(rawValue: args[1]) {
  20. ^~~~
  21. C:\Swift\bin\bin\main.swift:30:13: error: use of unresolved identifier 'City'
  22. if let to = City(rawValue: args[2]) {
  23. ^~~~
  24. C:\Swift\bin\bin\main.swift:37:79: error: use of unresolved identifier 'Dijkstra'
  25. let fastestPath = dijkstra.getRoute(from: source, to: destination, searchFor: Dijkstra.Parameter.fastest)
  26. ^~~~~~~~
  27. C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
  28. let dijkstra = Dijkstra(world)
  29. ^
  30. C:\Swift\bin\bin\main.swift:38:86: error: use of unresolved identifier 'Dijkstra'
  31. let fastestNoPlanePath = dijkstra.getRoute(from: source, to: destination, searchFor: Dijkstra.Parameter.fastest, exclude: Route.Method.Plane)
  32. ^~~~~~~~
  33. C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
  34. let dijkstra = Dijkstra(world)
  35. ^
  36. C:\Swift\bin\bin\main.swift:38:123: error: use of unresolved identifier 'Route'
  37. let fastestNoPlanePath = dijkstra.getRoute(from: source, to: destination, searchFor: Dijkstra.Parameter.fastest, exclude: Route.Method.Plane)
  38. ^~~~~
  39. C:\Swift\bin\bin\main.swift:39:80: error: use of unresolved identifier 'Dijkstra'
  40. let cheapestPath = dijkstra.getRoute(from: source, to: destination, searchFor: Dijkstra.Parameter.cheapest)
  41. ^~~~~~~~
  42. C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
  43. let dijkstra = Dijkstra(world)
  44. ^
  45. C:\Swift\bin\bin\main.swift:40:85: error: use of unresolved identifier 'Dijkstra'
  46. let cheapestNoBusPath = dijkstra.getRoute(from: source, to: destination, searchFor: Dijkstra.Parameter.cheapest, exclude: Route.Method.Bus)
  47. ^~~~~~~~
  48. C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
  49. let dijkstra = Dijkstra(world)
  50. ^
  51. C:\Swift\bin\bin\main.swift:40:123: error: use of unresolved identifier 'Route'
  52. let cheapestNoBusPath = dijkstra.getRoute(from: source, to: destination, searchFor: Dijkstra.Parameter.cheapest, exclude: Route.Method.Bus)
  53. ^~~~~
  54. C:\Swift\bin\bin\main.swift:45:1: error: use of unresolved identifier 'Dijkstra'
  55. Dijkstra.prettyPrint(fastestPath)
  56. ^~~~~~~~
  57. C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
  58. let dijkstra = Dijkstra(world)
  59. ^
  60. C:\Swift\bin\bin\main.swift:48:1: error: use of unresolved identifier 'Dijkstra'
  61. Dijkstra.prettyPrint(cheapestPath)
  62. ^~~~~~~~
  63. C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
  64. let dijkstra = Dijkstra(world)
  65. ^
  66. C:\Swift\bin\bin\main.swift:51:1: error: use of unresolved identifier 'Dijkstra'
  67. Dijkstra.prettyPrint(cheapestNoBusPath)
  68. ^~~~~~~~
  69. C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
  70. let dijkstra = Dijkstra(world)
  71. ^
  72. C:\Swift\bin\bin\main.swift:54:1: error: use of unresolved identifier 'Dijkstra'
  73. Dijkstra.prettyPrint(fastestNoPlanePath)
  74. ^~~~~~~~
  75. C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
  76. let dijkstra = Dijkstra(world)
  77. ^
  78.  
  79.  
  80. Compilation Failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement