Advertisement
tamarin_vs19

Untitled

May 17th, 2021
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 KB | None | 0 0
  1. mlcs-class-z3-assignment-0.1: unregistering (dependencies changed)
  2. mlcs-class-z3-assignment> configure (lib + exe + test)
  3. Configuring mlcs-class-z3-assignment-0.1...
  4. mlcs-class-z3-assignment> build (lib + exe + test)
  5. Preprocessing library for mlcs-class-z3-assignment-0.1..
  6. Building library for mlcs-class-z3-assignment-0.1..
  7. [1 of 4] Compiling EuropeBorders
  8. [2 of 4] Compiling CountryColoring
  9. [3 of 4] Compiling NQueens
  10.  
  11. /home/vyacheslav/mlcs-2021-z3-assignment-tamarinvs19/src/NQueens.hs:106:4: warning: [-Wunused-matches]
  12. Defined but not used: ‘one’
  13. |
  14. 106 | one <- mkInt 1 sort
  15. | ^^^
  16.  
  17. /home/vyacheslav/mlcs-2021-z3-assignment-tamarinvs19/src/NQueens.hs:110:11: warning: [-Wtype-defaults]
  18. • Defaulting the following constraints to type ‘Integer’
  19. (Integral a0)
  20. arising from a use of ‘mkIntNum’ at src/NQueens.hs:110:11-20
  21. (Num a0) arising from the literal ‘1’ at src/NQueens.hs:110:20
  22. • In a stmt of a 'do' block: num <- mkIntNum 1
  23. In the expression:
  24. do sort <- mkIntSort
  25. one <- mkInt 1 sort
  26. zero <- mkZero x
  27. first1 <- mkEq x (zero)
  28. ....
  29. In an equation for ‘onceInARow’:
  30. onceInARow x
  31. = do sort <- mkIntSort
  32. one <- mkInt 1 sort
  33. zero <- mkZero x
  34. ....
  35. |
  36. 110 | num <- mkIntNum 1
  37. | ^^^^^^^^^^
  38.  
  39. /home/vyacheslav/mlcs-2021-z3-assignment-tamarinvs19/src/NQueens.hs:125:4: warning: [-Wname-shadowing]
  40. This binding for ‘sum’ shadows the existing binding
  41. imported from ‘Prelude’ at src/NQueens.hs:1:8-14
  42. (and originally defined in ‘Data.Foldable’)
  43. |
  44. 125 | sum <- sumBv xs
  45. | ^^^
  46.  
  47. /home/vyacheslav/mlcs-2021-z3-assignment-tamarinvs19/src/NQueens.hs:150:4: warning: [-Wunused-matches]
  48. Defined but not used: ‘addedLeft’
  49. |
  50. 150 | addedLeft <- sequenceA $ map (\(ast, zer) -> mkConcat zer ast) (zipWith (,) xs zeros)
  51. | ^^^^^^^^^
  52. [4 of 4] Compiling Paths_mlcs_class_z3_assignment
  53. Preprocessing test suite 'task-test' for mlcs-class-z3-assignment-0.1..
  54. Building test suite 'task-test' for mlcs-class-z3-assignment-0.1..
  55. [2 of 2] Compiling Main
  56. Linking .stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/build/task-test/task-test ...
  57. Preprocessing executable 'problems' for mlcs-class-z3-assignment-0.1..
  58. Building executable 'problems' for mlcs-class-z3-assignment-0.1..
  59. [1 of 2] Compiling Main [Optimisation flags changed]
  60. [2 of 2] Compiling Paths_mlcs_class_z3_assignment
  61. Linking .stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/build/problems/problems ...
  62.  
  63. mlcs-class-z3-assignment> copy/register
  64. Installing library in /home/vyacheslav/mlcs-2021-z3-assignment-tamarinvs19/.stack-work/install/x86_64-linux-tinfo6/34ac4eaf140487c5c0864f95c8c3b13a9f560baba7322eff2edbe83e22dd40d4/8.8.4/lib/x86_64-linux-ghc-8.8.4/mlcs-class-z3-assignment-0.1-7W652HBnELx9D0qXjlmn5T
  65. Installing executable problems in /home/vyacheslav/mlcs-2021-z3-assignment-tamarinvs19/.stack-work/install/x86_64-linux-tinfo6/34ac4eaf140487c5c0864f95c8c3b13a9f560baba7322eff2edbe83e22dd40d4/8.8.4/bin
  66. Registering library for mlcs-class-z3-assignment-0.1..
  67. mlcs-class-z3-assignment> test (suite: task-test)
  68.  
  69. Progress 1/2: mlcs-class-z3-assignmenttask-test: Z3 error: Sort mismatch at argument #1 for function (declare-fun - (Int Int) Int) supplied sort is (_ BitVec 1)
  70.  
  71. mlcs-class-z3-assignment> Test suite task-test failed
  72. Completed 2 action(s).
  73. Test suite failure for package mlcs-class-z3-assignment-0.1
  74. task-test: exited with: ExitFailure 1
  75. Logs printed to console
  76.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement