# dune build # OCAMLPARAM: unset # Shared cache: enabled-except-user-rules # Shared cache location: /home/jaka/.cache/dune/db # Workspace root: /mnt/c/Programiranje/SPO/ass2/SICocaml/SICXE # Auto-detected concurrency: 16 # Dune context: # { name = "default" # ; kind = "default" # ; profile = Dev # ; merlin = true # ; fdo_target_exe = None # ; build_dir = In_build_dir "default" # ; instrument_with = [] # } $ /usr/bin/ocamlc.opt -config > /tmp/dune_71502d_output # Promoting "_build/default/SICXE.opam" to "SICXE.opam" $ (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -49 -nopervasives -nostdlib -g -bin-annot -I lib/.SICXE.objs/byte -no-alias-deps -opaque -o lib/.SICXE.objs/byte/sICXE.cmo -c -impl lib/sICXE.ml-gen) $ (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/opcodeTable.ml) > _build/default/lib/.SICXE.objs/sICXE__OpcodeTable.impl.d $ (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -49 -nopervasives -nostdlib -g -I lib/.SICXE.objs/byte -I lib/.SICXE.objs/native -intf-suffix .ml-gen -no-alias-deps -opaque -o lib/.SICXE.objs/native/sICXE.cmx -c -impl lib/sICXE.ml-gen) $ (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/decoder.ml) > _build/default/lib/.SICXE.objs/sICXE__Decoder.impl.d $ (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/izvajalnik.ml) > _build/default/lib/.SICXE.objs/sICXE__Izvajalnik.impl.d $ (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I lib/.SICXE.objs/byte -no-alias-deps -opaque -open SICXE -o lib/.SICXE.objs/byte/sICXE__OpcodeTable.cmo -c -impl lib/opcodeTable.ml) $ (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I test/.test_SICXE.eobjs/byte -no-alias-deps -opaque -o test/.test_SICXE.eobjs/byte/dune__exe__Test_SICXE.cmi -c -intf test/test_SICXE.mli) $ (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I lib/.SICXE.objs/byte -no-alias-deps -opaque -open SICXE -o lib/.SICXE.objs/byte/sICXE__Decoder.cmo -c -impl lib/decoder.ml) $ (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I lib/.SICXE.objs/byte -I lib/.SICXE.objs/native -intf-suffix .ml -no-alias-deps -opaque -open SICXE -o lib/.SICXE.objs/native/sICXE__OpcodeTable.cmx -c -impl lib/opcodeTable.ml) $ (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I test/.test_SICXE.eobjs/byte -I test/.test_SICXE.eobjs/native -intf-suffix .ml -no-alias-deps -opaque -o test/.test_SICXE.eobjs/native/dune__exe__Test_SICXE.cmx -c -impl test/test_SICXE.ml) $ (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I lib/.SICXE.objs/byte -I lib/.SICXE.objs/native -intf-suffix .ml -no-alias-deps -opaque -open SICXE -o lib/.SICXE.objs/native/sICXE__Decoder.cmx -c -impl lib/decoder.ml) $ (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I lib/.SICXE.objs/byte -no-alias-deps -opaque -open SICXE -o lib/.SICXE.objs/byte/sICXE__Izvajalnik.cmo -c -impl lib/izvajalnik.ml) > File "lib/izvajalnik.ml", line 72, characters 16-21: > 72 | let getAddress (state : state) : int = > ^^^^^ > Error (warning 27 [unused-var-strict]): unused variable state. > File "lib/izvajalnik.ml", line 77, characters 20-25: > 77 | let executeFormat1 (state : state) (mnemonic : OpcodeTable.mnemonic) : unit = > ^^^^^ > Error (warning 27 [unused-var-strict]): unused variable state. > File "lib/izvajalnik.ml", line 91, characters 7-9: > 91 | let (r1, r2) = readR1R2 state in > ^^ > Error (warning 26 [unused-var]): unused variable r1. > File "lib/izvajalnik.ml", line 91, characters 11-13: > 91 | let (r1, r2) = readR1R2 state in > ^^ > Error (warning 26 [unused-var]): unused variable r2. > File "lib/izvajalnik.ml", line 108, characters 36-42: > 108 | let executeFormat3 (state : state) (nixbpe : nixbpe) (mnemonic: OpcodeTable.mnemonic): unit = > ^^^^^^ > Error (warning 27 [unused-var-strict]): unused variable nixbpe. > File "lib/izvajalnik.ml", line 109, characters 6-13: > 109 | let address = getAddress state in > ^^^^^^^ > Error (warning 26 [unused-var]): unused variable address. > File "lib/izvajalnik.ml", line 157, characters 36-42: > 157 | let executeFormat4 (state : state) (nixbpe : nixbpe) (mnemonic: OpcodeTable.mnemonic): unit = > ^^^^^^ > Error (warning 27 [unused-var-strict]): unused variable nixbpe. > File "lib/izvajalnik.ml", line 158, characters 6-13: > 158 | let address = getAddress state in > ^^^^^^^ > Error (warning 26 [unused-var]): unused variable address. > File "lib/izvajalnik.ml", line 228, characters 14-17: > 228 | | Failure msg -> byte1 |> Char.code |> invalidOpcode > ^^^ > Error (warning 27 [unused-var-strict]): unused variable msg. [2] $ (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o test/test_SICXE.exe test/.test_SICXE.eobjs/native/dune__exe__Test_SICXE.cmx)