Building on m1-b.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41) Unable to find image 'ocaml/opam:debian-unstable@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41' locally docker.io/ocaml/opam@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41: Pulling from ocaml/opam 7c26de214b34: Already exists 791d3a768af6: Already exists e06237cac4e8: Pulling fs layer e06237cac4e8: Verifying Checksum e06237cac4e8: Download complete e06237cac4e8: Pull complete Digest: sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41 Status: Downloaded newer image for ocaml/opam@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41 2022-05-01 20:44.14 ---> using "e16578957f674ca141475612bdd8fe456bdeb3cf55dca9de0669bf5f721951e7" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2022-05-01 20:44.14 ---> using "09ae07f34eca5d84e953ea4b87a3c466448be28706a95338ba19feb13b3b66fd" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 4ce6f847a29936b1d875b70940837be093fec84e")) 2022-05-01 20:44.14 ---> using "8a62ed72fc23e1663b0f130dbecbe2a8d6a9d36667f58fd75e99df9fc9855900" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2022-05-01 20:44.14 ---> using "1da6a21744e622352d23ddb067012a46b76c5e5a957ab9cd9733a836f9d86396" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.11' '4.11.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.11.2"} | "ocaml-system" {= "4.11.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.11.2 (cached) -> installed ocaml-base-compiler.4.11.2 -> installed ocaml-config.1 -> installed ocaml.4.11.2 Done. # Run eval $(opam env --switch=4.11) to update the current shell environment 2022-05-01 20:44.14 ---> using "ea718d7a957d785be17e2ac3ebb7edb16509b4b58428c8d2f004337a238ede4b" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [165 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-05-01-0201.40-F-2022-04-26-0801.40.pdiff [201 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-05-01-0201.40-F-2022-04-26-0801.40.pdiff [201 kB] - Fetched 430 kB in 3s (159 kB/s) - Reading package lists... - 2022-05-01 20:44.14 ---> using "ae6580dfb0f2a05aacb6a8ac240245b5519ba617db2a66a3668eae32f8521155" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"lambda.0.1.7\"\ \nopam install -vy \"lambda.0.1.7\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"lambda.0.1.7\" | grep -q '\"debian-unstable\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) [NOTE] lambda.0.1.7 is not installed. Nothing to do. The following actions will be performed: === install 5 packages - install dune 3.1.1 [required by lambda] - install lambda 0.1.7 - install menhir 20220210 [required by lambda] - install menhirLib 20220210 [required by menhir] - install menhirSdk 20220210 [required by menhir] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/13: Processing 2/13: [lambda.0.1.7: http] Processing 3/13: [lambda.0.1.7: http] -> retrieved menhir.20220210, menhirLib.20220210, menhirSdk.20220210 (cached) Processing 3/13: -> retrieved lambda.0.1.7 (https://github.com/dakk/lambda/archive/v0.1.7.tar.gz) -> retrieved dune.3.1.1 (cached) Processing 4/13: [dune: ocaml bootstrap.ml] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "47" (CWD=/home/opam/.opam/4.11/.opam-switch/build/dune.3.1.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 47 - Processing 4/13: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "47" (CWD=/home/opam/.opam/4.11/.opam-switch/build/dune.3.1.1) -> compiled dune.3.1.1 -> installed dune.3.1.1 Processing 6/13: [menhirLib: dune build] Processing 7/13: [menhirLib: dune build] [menhirSdk: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhirSdk" "-j" "47" (CWD=/home/opam/.opam/4.11/.opam-switch/build/menhirSdk.20220210) -> compiled menhirSdk.20220210 Processing 7/13: [menhirLib: dune build] -> installed menhirSdk.20220210 Processing 8/13: [menhirLib: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhirLib" "-j" "47" (CWD=/home/opam/.opam/4.11/.opam-switch/build/menhirLib.20220210) - (cd _build/default/lib/pack && ./pack.exe) - Creating menhirLib.ml... - Creating menhirLib.mli... -> compiled menhirLib.20220210 -> installed menhirLib.20220210 Processing 10/13: [menhir: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhir" "-j" "47" (CWD=/home/opam/.opam/4.11/.opam-switch/build/menhir.20220210) - (cd _build/default/src/stage2 && .bin/menhir --exn-carries-state --no-pager --require-aliases --strict parser.mly --compare-errors parserMessages.auto.messages --compare-errors parserMessages.messages) > _build/default/src/stage2/parserMessages.check - Read 101 sample input sentences and 101 error messages. - Read 101 sample input sentences and 48 error messages. - (cd _build/default && src/stage2/.bin/menhir --exn-carries-state --no-pager --require-aliases --strict -lg 1 -la 1 -lc 1 -v src/stage2/parser.mly --base src/stage2/parser --infer-read-reply src/stage2/parser__mock.mli.inferred) - Grammar has 56 nonterminal symbols, among which 1 start symbols. - Grammar has 37 terminal symbols. - Grammar has 129 productions. - Built an LR(0) automaton with 194 states. - The grammar is not SLR(1) -- 5 states have a conflict. - The construction mode is no-pager. - Built an LR(1) automaton with 298 states. - One shift/reduce conflict was silently solved. - Extra reductions on error were added in 40 states. - Priority played a role in 0 of these states. - 152 out of 298 states have a default reduction. - 102 out of 298 states are represented. - 44 out of 96 symbols keep track of their start position. - 41 out of 96 symbols keep track of their end position. - 264 specialized copies of 64 functions have been created. - The StackLang code contains 5161 instructions in 241 blocks. - The StackLang code comprises 5 mutually recursive groups. - (cd _build/default/src/stage2 && .bin/menhir --exn-carries-state --no-pager --require-aliases --strict parser.mly --compile-errors parserMessages.messages) > _build/default/src/stage2/parserMessages.ml - Read 101 sample input sentences and 48 error messages. -> compiled menhir.20220210 -> installed menhir.20220210 Processing 12/13: [lambda: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "lambda" "-j" "47" (CWD=/home/opam/.opam/4.11/.opam-switch/build/lambda.0.1.7) - (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.lambda.objs/byte -intf-suffix .ml -no-alias-deps -open Lambda -o src/.lambda.objs/byte/lambda__L.cmo -c -impl src/l.ml) - File "src/l.ml", lines 72-78, characters 23-64: - 72 | .......................match t with - 73 | Var y -> if x=y then t' else Var y - 74 | | App(t0,t1) -> App(subst x t' t0, subst x t' t1) - 75 | | Abs(y,t0) when y=x -> Abs(x,t0) - 76 | | Abs(y,t0) when y!=x && not (member y (fv t')) -> Abs(y, subst x t' t0) - 77 | | Abs(y,t0) when y!=x && member y (fv t') -> - 78 | let z = gensym() in Abs(z,subst x t' (subst z (Var y) t0)).. - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Abs _ - (However, some guarded clause may match this value.) - File "src/l.ml", lines 104-107, characters 53-81: - 104 | .....................................................match t with - 105 | Abs(x,t') -> Abs(x,reduce1 t') - 106 | | App(Abs(x,t0),t1) -> subst x t1 t0 - 107 | | App(t0,t1) -> if has_redex t0 then App(reduce1 t0,t1) else App(t0,reduce1 t1).. - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Var _ - File "src/l.ml", lines 122-128, characters 51-78: - 122 | ...................................................match t with - 123 | Var y -> if x=y then t' else Var y - 124 | | App(t0,t1) -> App(subst' x t' t0 (n'-1), subst' x t' t1 (n'-1)) - 125 | | Abs(y,t0) when y=x -> Abs(x,t0) - 126 | | Abs(y,t0) when y!=x && not (member y (fv t')) -> Abs(y, subst' x t' t0 (n'-1)) - 127 | | Abs(y,t0) when y!=x && member y (fv t') -> - 128 | let z = gensym() in Abs(z,subst' x t' (subst' z (Var y) t0 (n'-1)) (n'-1)) - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Abs _ - (However, some guarded clause may match this value.) - File "src/l.ml", lines 130-133, characters 69-97: - 130 | .....................................................................match t with - 131 | Abs(x,t') -> Abs(x,reduce1' t' (n'-1)) - 132 | | App(Abs(x,t0),t1) -> subst' x t1 t0 (n'-1) - 133 | | App(t0,t1) -> if has_redex t0 then App(reduce1' t0 (n'-1),t1) else App(t0,reduce1' t1 (n'-1)) - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Var _ - (cd _build/default && /home/opam/.opam/4.11/bin/ocamlopt.opt -w -40 -g -I src/.lambda.objs/byte -I src/.lambda.objs/native -intf-suffix .ml -no-alias-deps -open Lambda -o src/.lambda.objs/native/lambda__L.cmx -c -impl src/l.ml) - File "src/l.ml", lines 72-78, characters 23-64: - 72 | .......................match t with - 73 | Var y -> if x=y then t' else Var y - 74 | | App(t0,t1) -> App(subst x t' t0, subst x t' t1) - 75 | | Abs(y,t0) when y=x -> Abs(x,t0) - 76 | | Abs(y,t0) when y!=x && not (member y (fv t')) -> Abs(y, subst x t' t0) - 77 | | Abs(y,t0) when y!=x && member y (fv t') -> - 78 | let z = gensym() in Abs(z,subst x t' (subst z (Var y) t0)).. - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Abs _ - (However, some guarded clause may match this value.) - File "src/l.ml", lines 104-107, characters 53-81: - 104 | .....................................................match t with - 105 | Abs(x,t') -> Abs(x,reduce1 t') - 106 | | App(Abs(x,t0),t1) -> subst x t1 t0 - 107 | | App(t0,t1) -> if has_redex t0 then App(reduce1 t0,t1) else App(t0,reduce1 t1).. - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Var _ - File "src/l.ml", lines 122-128, characters 51-78: - 122 | ...................................................match t with - 123 | Var y -> if x=y then t' else Var y - 124 | | App(t0,t1) -> App(subst' x t' t0 (n'-1), subst' x t' t1 (n'-1)) - 125 | | Abs(y,t0) when y=x -> Abs(x,t0) - 126 | | Abs(y,t0) when y!=x && not (member y (fv t')) -> Abs(y, subst' x t' t0 (n'-1)) - 127 | | Abs(y,t0) when y!=x && member y (fv t') -> - 128 | let z = gensym() in Abs(z,subst' x t' (subst' z (Var y) t0 (n'-1)) (n'-1)) - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Abs _ - (However, some guarded clause may match this value.) - File "src/l.ml", lines 130-133, characters 69-97: - 130 | .....................................................................match t with - 131 | Abs(x,t') -> Abs(x,reduce1' t' (n'-1)) - 132 | | App(Abs(x,t0),t1) -> subst' x t1 t0 (n'-1) - 133 | | App(t0,t1) -> if has_redex t0 then App(reduce1' t0 (n'-1),t1) else App(t0,reduce1' t1 (n'-1)) - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Var _ - (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.lambda.objs/byte -intf-suffix .ml -no-alias-deps -open Lambda -o src/.lambda.objs/byte/lambda__Church.cmo -c -impl src/church.ml) - File "src/church.ml", lines 19-22, characters 21-20: - 19 | .....................match t with - 20 | App(Var f, inner) -> App(Var "f", convin inner) - 21 | | App(Var f, Var x) -> App(Var "f", Var "x") - 22 | | Var x -> Var "x" - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (App ((Abs _|App (_, _)), _)|Abs _) - File "src/church.ml", line 21, characters 4-21: - 21 | | App(Var f, Var x) -> App(Var "f", Var "x") - ^^^^^^^^^^^^^^^^^ - Warning 11: this match case is unused. - (cd _build/default && /home/opam/.opam/4.11/bin/ocamlopt.opt -w -40 -g -I src/.lambda.objs/byte -I src/.lambda.objs/native -intf-suffix .ml -no-alias-deps -open Lambda -o src/.lambda.objs/native/lambda__Church.cmx -c -impl src/church.ml) - File "src/church.ml", lines 19-22, characters 21-20: - 19 | .....................match t with - 20 | App(Var f, inner) -> App(Var "f", convin inner) - 21 | | App(Var f, Var x) -> App(Var "f", Var "x") - 22 | | Var x -> Var "x" - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (App ((Abs _|App (_, _)), _)|Abs _) - File "src/church.ml", line 21, characters 4-21: - 21 | | App(Var f, Var x) -> App(Var "f", Var "x") - ^^^^^^^^^^^^^^^^^ - Warning 11: this match case is unused. -> compiled lambda.0.1.7 -> installed lambda.0.1.7 Done. # Run eval $(opam env) to update the current shell environment 2022-05-01 20:45.50 ---> saved as "f0ded245b90f07d1ca1c8c976e3fefa3ca5fd8c7d9af6ec9aef2ff9eb646a92e" Job succeeded