File: 7.20181105%2Bgit172-g76fc9af4_not_buildable.mdwn

package info (click to toggle)
git-annex 8.20210223-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 68,764 kB
  • sloc: haskell: 70,359; javascript: 9,103; sh: 1,304; makefile: 212; perl: 136; ansic: 44
file content (63 lines) | stat: -rw-r--r-- 2,747 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
first ran into on my laptop and just thought that my setup is outdated... this is now in clean uptodate debian sid

[[!format sh """
Annex/Ssh.hs:207:25: error:
    * Couldn't match type `IO' with `Annex'
      Expected type: Annex ()
        Actual type: IO ()
    * In the second argument of `($)', namely
        `unlessM (tryssh ["-o", "BatchMode=true"])
           $ do liftIO $ print "ok then"
                let p = ... in p `concurrently` p'
      In the second argument of `($)', namely
        `whenM (isNothing <$> fromLockCache socketlock)
           $ unlessM (tryssh ["-o", "BatchMode=true"])
               $ do liftIO $ print "ok then"
                    let p = ... in p `concurrently` p'
      In the expression:
        debugLocks
          $ whenM (isNothing <$> fromLockCache socketlock)
              $ unlessM (tryssh ["-o", "BatchMode=true"])
                  $ do liftIO $ print "ok then"
                       let p = ... in p `concurrently` p
    |
207 |                         unlessM (tryssh ["-o", "BatchMode=true"]) $ do
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

Annex/Ssh.hs:213:70: error:
    * Couldn't match expected type `IO a0' with actual type `Annex ()'
    * In the first argument of `concurrently', namely `p'
      In the expression: p `concurrently` p
      In a stmt of a 'do' block:
        let p = void $ prompt $ tryssh [] in p `concurrently` p
    |   
213 |                                 let p = void $ prompt $ tryssh [] in p `concurrently` p
    |                                                                      ^

Annex/Ssh.hs:213:70: error:
    * Couldn't match type `(a0, b0)' with `()'
      Expected type: IO ()
        Actual type: IO (a0, b0)
    * In the expression: p `concurrently` p
      In a stmt of a 'do' block:
        let p = void $ prompt $ tryssh [] in p `concurrently` p
      In the second argument of `($)', namely
        `do liftIO $ print "ok then"
            let p = ... in p `concurrently` p'
    |
213 |                                 let p = void $ prompt $ tryssh [] in p `concurrently` p
    |                                                                      ^^^^^^^^^^^^^^^^^^

Annex/Ssh.hs:213:87: error:
    * Couldn't match expected type `IO b0' with actual type `Annex ()'
    * In the second argument of `concurrently', namely `p'
      In the expression: p `concurrently` p
      In a stmt of a 'do' block:
        let p = void $ prompt $ tryssh [] in p `concurrently` p
    |
213 |                                 let p = void $ prompt $ tryssh [] in p `concurrently` p
    |                                                                                       ^
"""]]


> [[fixed|done]] --[[Joey]]