$ /nix/store/vzx1mi9c0xfadmsm9dhd83d005cb1qs9-coreutils-9.8/bin/timeout --kill-after=15s 7200s /nix/store/99b1z08awpxj8b6mzggn59gp1shljnff-nix-2.34.5/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link git+https://github.com/NorfairKing/sydtest?ref=mutation-testing&rev=82062ce4dbd2947778aeae97877e5413f8a85d91#checks.x86_64-linux.mutation-sydtest-mutation-example --print-build-logs warning: ignoring untrusted flake configuration setting 'extra-substituters'. Pass '--accept-flake-config' to trust it warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'. Pass '--accept-flake-config' to trust it  Downloading cached sydtest-mutation-example-0.0.0.0-manifest from https://cache.staging.nix-ci.com Downloading cached sydtest-mutation-example-gen-source from https://cache.staging.nix-ci.com Downloading cached sydtest-mutation-example from https://cache.staging.nix-ci.com Progress: 0 of 5 built, 1 of 3 downloaded from cache (2 downloading) Progress: 0 of 4 built, 2 of 3 downloaded from cache (1 downloading) Progress: 0 of 3 built, 3 of 3 downloaded from cache Building sydtest-mutation-example-gen [sydtest-mutation-example-gen] Phase: setupCompilerEnvironmentPhase [sydtest-mutation-example-gen] Build with /nix/store/s9jd43rkwc2syl9cvgj6f786avy8bgzy-ghc-9.10.3. [sydtest-mutation-example-gen] Phase: unpackPhase [sydtest-mutation-example-gen] unpacking source archive /nix/store/smhzm71ayyni1mrg477c5hzyh0ik07kl-sydtest-mutation-example-gen-source-0.0.0.0/sydtest-mutation-example-gen-0.0.0.0.tar.gz [sydtest-mutation-example-gen] source root is sydtest-mutation-example-gen-0.0.0.0 [sydtest-mutation-example-gen] setting SOURCE_DATE_EPOCH to timestamp 1779115648 of file "sydtest-mutation-example-gen-0.0.0.0/test/Spec.hs" [sydtest-mutation-example-gen] Phase: patchPhase [sydtest-mutation-example-gen] Phase: compileBuildDriverPhase [sydtest-mutation-example-gen] setupCompileFlags: -package-db=/build/tmp.5h8noXUlCV/setup-package.conf.d -threaded [sydtest-mutation-example-gen] [1 of 2] Compiling Main ( Setup.hs, /build/tmp.5h8noXUlCV/Main.o ) [sydtest-mutation-example-gen] [2 of 2] Linking Setup [sydtest-mutation-example-gen] Phase: updateAutotoolsGnuConfigScriptsPhase [sydtest-mutation-example-gen] Phase: configurePhase [sydtest-mutation-example-gen] configureFlags: --verbose --prefix=/nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/w5zpb9kcnhryrnnk6100q30rykm4rj6p-sydtest-mutation-example-gen-0.0.0.0-doc/share/doc/sydtest-mutation-example-gen-0.0.0.0 --with-gcc=gcc --package-db=/build/tmp.5h8noXUlCV/package.conf.d --ghc-option=-j16 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-haddock --ghc-options=-O2 --ghc-options=-Wall --ghc-options=-Wincomplete-uni-patterns --ghc-options=-Wincomplete-record-updates --ghc-options=-Wpartial-fields --ghc-options=-Widentities --ghc-options=-Wredundant-constraints --ghc-options=-Wcpp-undef --ghc-options=-Wunused-packages --ghc-options=-Werror --ghc-options=-Wno-deprecations --extra-lib-dirs=/nix/store/ffyzkisqs4vc4mg28bwwlyqjf8i9ph6b-ncurses-6.5/lib --extra-lib-dirs=/nix/store/n28qgdj8c1q41kf7n4y1jxa6ckp85m3c-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/1b6h99dw7bk4wbn77kbalih42zbc67m1-elfutils-0.194/lib --extra-lib-dirs=/nix/store/hi0ar880110k6jsmmili7dh1gq3cg2a9-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/g09cflpnp4g80q56sj9dng1qzv4v4ybc-numactl-2.0.18/lib --extra-lib-dirs=/nix/store/s9jd43rkwc2syl9cvgj6f786avy8bgzy-ghc-9.10.3/lib [sydtest-mutation-example-gen] Using Parsec parser [sydtest-mutation-example-gen] Configuring sydtest-mutation-example-gen-0.0.0.0... [sydtest-mutation-example-gen] Dependency QuickCheck: using QuickCheck-2.15.0.1 [sydtest-mutation-example-gen] Dependency base >=4.7 && <5: using base-4.20.2.0 [sydtest-mutation-example-gen] Dependency QuickCheck: using QuickCheck-2.15.0.1 [sydtest-mutation-example-gen] Dependency base >=4.7 && <5: using base-4.20.2.0 [sydtest-mutation-example-gen] Dependency sydtest: using sydtest-0.23.1.0 [sydtest-mutation-example-gen] Dependency sydtest-mutation-example: using sydtest-mutation-example-0.0.0.0 [sydtest-mutation-example-gen] Dependency sydtest-mutation-example-gen: using [sydtest-mutation-example-gen] sydtest-mutation-example-gen-0.0.0.0 [sydtest-mutation-example-gen] Source component graph: [sydtest-mutation-example-gen]  component lib [sydtest-mutation-example-gen]  component test:sydtest-mutation-example-gen-test dependency lib [sydtest-mutation-example-gen] Configured component graph: [sydtest-mutation-example-gen]  component sydtest-mutation-example-gen-0.0.0.0-AdSL0Ove5Z7bJR7ETnROP [sydtest-mutation-example-gen]  include QuickCheck-2.15.0.1-8fVC1qSJKj9H9pvMjJXUwU [sydtest-mutation-example-gen]  include base-4.20.2.0-64da [sydtest-mutation-example-gen]  component sydtest-mutation-example-gen-0.0.0.0-GeBIfk9iKHQJgHZzjwfAEj-sydtest-mutation-example-gen-test [sydtest-mutation-example-gen]  include QuickCheck-2.15.0.1-8fVC1qSJKj9H9pvMjJXUwU [sydtest-mutation-example-gen]  include base-4.20.2.0-64da [sydtest-mutation-example-gen]  include sydtest-0.23.1.0-1QbKcOQdzLp6O89Vfb96q6 [sydtest-mutation-example-gen]  include sydtest-mutation-example-0.0.0.0-AP4YwxYYlbSKrmTKnqBEmu [sydtest-mutation-example-gen]  include sydtest-mutation-example-gen-0.0.0.0-AdSL0Ove5Z7bJR7ETnROP [sydtest-mutation-example-gen] Linked component graph: [sydtest-mutation-example-gen]  unit sydtest-mutation-example-gen-0.0.0.0-AdSL0Ove5Z7bJR7ETnROP [sydtest-mutation-example-gen]  include QuickCheck-2.15.0.1-8fVC1qSJKj9H9pvMjJXUwU [sydtest-mutation-example-gen]  include base-4.20.2.0-64da [sydtest-mutation-example-gen]  Example.Gen=sydtest-mutation-example-gen-0.0.0.0-AdSL0Ove5Z7bJR7ETnROP:Example.Gen [sydtest-mutation-example-gen]  unit sydtest-mutation-example-gen-0.0.0.0-GeBIfk9iKHQJgHZzjwfAEj-sydtest-mutation-example-gen-test [sydtest-mutation-example-gen]  include QuickCheck-2.15.0.1-8fVC1qSJKj9H9pvMjJXUwU [sydtest-mutation-example-gen]  include base-4.20.2.0-64da [sydtest-mutation-example-gen]  include sydtest-0.23.1.0-1QbKcOQdzLp6O89Vfb96q6 [sydtest-mutation-example-gen]  include sydtest-mutation-example-0.0.0.0-AP4YwxYYlbSKrmTKnqBEmu [sydtest-mutation-example-gen]  include sydtest-mutation-example-gen-0.0.0.0-AdSL0Ove5Z7bJR7ETnROP [sydtest-mutation-example-gen] Ready component graph: [sydtest-mutation-example-gen]  definite sydtest-mutation-example-gen-0.0.0.0-AdSL0Ove5Z7bJR7ETnROP [sydtest-mutation-example-gen]  depends QuickCheck-2.15.0.1-8fVC1qSJKj9H9pvMjJXUwU [sydtest-mutation-example-gen]  depends base-4.20.2.0-64da [sydtest-mutation-example-gen]  definite sydtest-mutation-example-gen-0.0.0.0-GeBIfk9iKHQJgHZzjwfAEj-sydtest-mutation-example-gen-test [sydtest-mutation-example-gen]  depends QuickCheck-2.15.0.1-8fVC1qSJKj9H9pvMjJXUwU [sydtest-mutation-example-gen]  depends base-4.20.2.0-64da [sydtest-mutation-example-gen]  depends sydtest-0.23.1.0-1QbKcOQdzLp6O89Vfb96q6 [sydtest-mutation-example-gen]  depends sydtest-mutation-example-0.0.0.0-AP4YwxYYlbSKrmTKnqBEmu [sydtest-mutation-example-gen]  depends sydtest-mutation-example-gen-0.0.0.0-AdSL0Ove5Z7bJR7ETnROP [sydtest-mutation-example-gen] Using Cabal-3.12.1.0 compiled by ghc-9.10 [sydtest-mutation-example-gen] Using compiler: ghc-9.10.3 [sydtest-mutation-example-gen] Using install prefix: [sydtest-mutation-example-gen] /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0 [sydtest-mutation-example-gen] Executables installed in: [sydtest-mutation-example-gen] /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0/bin [sydtest-mutation-example-gen] Libraries installed in: [sydtest-mutation-example-gen] /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/sydtest-mutation-example-gen-0.0.0.0-AdSL0Ove5Z7bJR7ETnROP [sydtest-mutation-example-gen] Dynamic Libraries installed in: [sydtest-mutation-example-gen] /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6 [sydtest-mutation-example-gen] Private executables installed in: [sydtest-mutation-example-gen] /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0/libexec/x86_64-linux-ghc-9.10.3-05f6/sydtest-mutation-example-gen-0.0.0.0 [sydtest-mutation-example-gen] Data files installed in: [sydtest-mutation-example-gen] /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0/share/x86_64-linux-ghc-9.10.3-05f6/sydtest-mutation-example-gen-0.0.0.0 [sydtest-mutation-example-gen] Documentation installed in: [sydtest-mutation-example-gen] /nix/store/w5zpb9kcnhryrnnk6100q30rykm4rj6p-sydtest-mutation-example-gen-0.0.0.0-doc/share/doc/sydtest-mutation-example-gen-0.0.0.0 [sydtest-mutation-example-gen] Configuration files installed in: [sydtest-mutation-example-gen] /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0/etc [sydtest-mutation-example-gen] No alex found [sydtest-mutation-example-gen] Using ar found on system at: [sydtest-mutation-example-gen] /nix/store/iz5lckcsg66r223si2gck7csk2hihj0m-binutils-wrapper-2.44/bin/ar [sydtest-mutation-example-gen] No c2hs found [sydtest-mutation-example-gen] No cpphs found [sydtest-mutation-example-gen] No doctest found [sydtest-mutation-example-gen] Using gcc version 14.3.0 given by user at: [sydtest-mutation-example-gen] /nix/store/8v97ngkcpfzgghwnnr7fsz33p2x22gy9-gcc-wrapper-14.3.0/bin/gcc [sydtest-mutation-example-gen] Using ghc version 9.10.3 found on system at: [sydtest-mutation-example-gen] /nix/store/s9jd43rkwc2syl9cvgj6f786avy8bgzy-ghc-9.10.3/bin/ghc [sydtest-mutation-example-gen] Using ghc-pkg version 9.10.3 found on system at: [sydtest-mutation-example-gen] /nix/store/s9jd43rkwc2syl9cvgj6f786avy8bgzy-ghc-9.10.3/bin/ghc-pkg-9.10.3 [sydtest-mutation-example-gen] No ghcjs found [sydtest-mutation-example-gen] No ghcjs-pkg found [sydtest-mutation-example-gen] No greencard found [sydtest-mutation-example-gen] Using haddock version 2.31.1 found on system at: [sydtest-mutation-example-gen] /nix/store/s9jd43rkwc2syl9cvgj6f786avy8bgzy-ghc-9.10.3/bin/haddock-ghc-9.10.3 [sydtest-mutation-example-gen] No happy found [sydtest-mutation-example-gen] Using haskell-suite found on system at: haskell-suite-dummy-location [sydtest-mutation-example-gen] Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location [sydtest-mutation-example-gen] No hmake found [sydtest-mutation-example-gen] Using hpc version 0.69 found on system at: [sydtest-mutation-example-gen] /nix/store/s9jd43rkwc2syl9cvgj6f786avy8bgzy-ghc-9.10.3/bin/hpc-ghc-9.10.3 [sydtest-mutation-example-gen] Using hsc2hs version 0.68.10 found on system at: [sydtest-mutation-example-gen] /nix/store/s9jd43rkwc2syl9cvgj6f786avy8bgzy-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 [sydtest-mutation-example-gen] Using hscolour version 1.25 found on system at: [sydtest-mutation-example-gen] /nix/store/f755skyzf4jvfx3crwq9mmh3x4lsaz8i-hscolour-1.25/bin/HsColour [sydtest-mutation-example-gen] No jhc found [sydtest-mutation-example-gen] Using ld found on system at: [sydtest-mutation-example-gen] /nix/store/8v97ngkcpfzgghwnnr7fsz33p2x22gy9-gcc-wrapper-14.3.0/bin/ld [sydtest-mutation-example-gen] No pkg-config found [sydtest-mutation-example-gen] Using runghc version 9.10.3 found on system at: [sydtest-mutation-example-gen] /nix/store/s9jd43rkwc2syl9cvgj6f786avy8bgzy-ghc-9.10.3/bin/runghc-9.10.3 [sydtest-mutation-example-gen] Using strip version 2.44 found on system at: [sydtest-mutation-example-gen] /nix/store/8v97ngkcpfzgghwnnr7fsz33p2x22gy9-gcc-wrapper-14.3.0/bin/strip [sydtest-mutation-example-gen] Using tar found on system at: [sydtest-mutation-example-gen] /nix/store/xl6pd2spjajwcpq09fnmnjv5psqmlmma-gnutar-1.35/bin/tar [sydtest-mutation-example-gen] No uhc found [sydtest-mutation-example-gen] Phase: buildPhase [sydtest-mutation-example-gen] Preprocessing library for sydtest-mutation-example-gen-0.0.0.0... [sydtest-mutation-example-gen] Building library for sydtest-mutation-example-gen-0.0.0.0... [sydtest-mutation-example-gen] [1 of 2] Compiling Example.Gen ( src/Example/Gen.hs, dist/build/Example/Gen.o, dist/build/Example/Gen.dyn_o ) [sydtest-mutation-example-gen] [2 of 2] Compiling Paths_sydtest_mutation_example_gen ( dist/build/autogen/Paths_sydtest_mutation_example_gen.hs, dist/build/Paths_sydtest_mutation_example_gen.o, dist/build/Paths_sydtest_mutation_example_gen.dyn_o ) [sydtest-mutation-example-gen] [1 of 2] Compiling Example.Gen ( src/Example/Gen.hs, dist/build/Example/Gen.p_o ) [sydtest-mutation-example-gen] [2 of 2] Compiling Paths_sydtest_mutation_example_gen ( dist/build/autogen/Paths_sydtest_mutation_example_gen.hs, dist/build/Paths_sydtest_mutation_example_gen.p_o ) [sydtest-mutation-example-gen] Preprocessing test suite 'sydtest-mutation-example-gen-test' for sydtest-mutation-example-gen-0.0.0.0... [sydtest-mutation-example-gen] Building test suite 'sydtest-mutation-example-gen-test' for sydtest-mutation-example-gen-0.0.0.0... [sydtest-mutation-example-gen] [ 1 of 12] Compiling Example.BoolLibSpec ( test/Example/BoolLibSpec.hs, dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test-tmp/Example/BoolLibSpec.o ) [sydtest-mutation-example-gen] [ 2 of 12] Compiling Example.CaseLibSpec ( test/Example/CaseLibSpec.hs, dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test-tmp/Example/CaseLibSpec.o ) [sydtest-mutation-example-gen] [ 3 of 12] Compiling Example.DoLibSpec ( test/Example/DoLibSpec.hs, dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test-tmp/Example/DoLibSpec.o ) [sydtest-mutation-example-gen] [ 4 of 12] Compiling Example.ExceptionLibSpec ( test/Example/ExceptionLibSpec.hs, dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test-tmp/Example/ExceptionLibSpec.o ) [sydtest-mutation-example-gen] [ 5 of 12] Compiling Example.FunctionExceptionLibSpec ( test/Example/FunctionExceptionLibSpec.hs, dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test-tmp/Example/FunctionExceptionLibSpec.o ) [sydtest-mutation-example-gen] [ 6 of 12] Compiling Example.LibSpec ( test/Example/LibSpec.hs, dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test-tmp/Example/LibSpec.o ) [sydtest-mutation-example-gen] [ 7 of 12] Compiling Example.ListLibSpec ( test/Example/ListLibSpec.hs, dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test-tmp/Example/ListLibSpec.o ) [sydtest-mutation-example-gen] [ 8 of 12] Compiling Example.LocalDisableLibSpec ( test/Example/LocalDisableLibSpec.hs, dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test-tmp/Example/LocalDisableLibSpec.o ) [sydtest-mutation-example-gen] [ 9 of 12] Compiling Example.LogicLibSpec ( test/Example/LogicLibSpec.hs, dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test-tmp/Example/LogicLibSpec.o ) [sydtest-mutation-example-gen] [10 of 12] Compiling Example.OtherwiseLibSpec ( test/Example/OtherwiseLibSpec.hs, dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test-tmp/Example/OtherwiseLibSpec.o ) [sydtest-mutation-example-gen] [11 of 12] Compiling Main ( test/Spec.hs, dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test-tmp/Main.o ) [sydtest-mutation-example-gen] [12 of 12] Compiling Paths_sydtest_mutation_example_gen ( dist/build/sydtest-mutation-example-gen-test/autogen/Paths_sydtest_mutation_example_gen.hs, dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test-tmp/Paths_sydtest_mutation_example_gen.o ) [sydtest-mutation-example-gen] [13 of 13] Linking dist/build/sydtest-mutation-example-gen-test/sydtest-mutation-example-gen-test [sydtest-mutation-example-gen] Phase: checkPhase [sydtest-mutation-example-gen] mutation-nix: collecting coverage for suite sydtest-mutation-example-gen [sydtest-mutation-example-gen] coverage (1/42): running Example\.DoLibSpec.greet.greets quietly [sydtest-mutation-example-gen] coverage (2/42): running Example\.DoLibSpec.greet.greets loudly [sydtest-mutation-example-gen] coverage (3/42): running Example\.ExceptionLibSpec.addOneModuleDisabled.increments by one [sydtest-mutation-example-gen] coverage (4/42): running Example\.LocalDisableLibSpec.withInnerKept.is True when given False [sydtest-mutation-example-gen] coverage (7/42): running Example\.LocalDisableLibSpec.withInnerBoolLitDisabled.is True when given False [sydtest-mutation-example-gen] coverage (8/42): running Example\.LocalDisableLibSpec.withBindKept.passes the input through the toggle function (False -> True) [sydtest-mutation-example-gen] coverage (5/42): running Example\.LocalDisableLibSpec.withInnerKept.is False when given True [sydtest-mutation-example-gen] coverage (6/42): running Example\.LocalDisableLibSpec.withInnerBoolLitDisabled.is False when given True [sydtest-mutation-example-gen] coverage (9/42): running Example\.LocalDisableLibSpec.withBindKept.passes the input through the toggle function (True -> False) [sydtest-mutation-example-gen] coverage (12/42): running Example\.LocalDisableLibSpec.withBindDisabled.passes the input through the toggle function (False -> True) [sydtest-mutation-example-gen] coverage (11/42): running Example\.LocalDisableLibSpec.withInnerDisabled.is True when given False [sydtest-mutation-example-gen] coverage (10/42): running Example\.LocalDisableLibSpec.withInnerDisabled.is False when given True [sydtest-mutation-example-gen] coverage (13/42): running Example\.LocalDisableLibSpec.withBindDisabled.passes the input through the toggle function (True -> False) [sydtest-mutation-example-gen] coverage (16/42): running Example\.BoolLibSpec.negateWrapped.negates Just True to Just False [sydtest-mutation-example-gen] coverage (15/42): running Example\.BoolLibSpec.wrapFalse.is Just False [sydtest-mutation-example-gen] coverage (17/42): running Example\.BoolLibSpec.negateWrapped.leaves Nothing as Nothing [sydtest-mutation-example-gen] coverage (14/42): running Example\.BoolLibSpec.wrapTrue.is Just True [sydtest-mutation-example-gen] coverage (19/42): running Example\.ListLibSpec.pairConcat.preserves the order [sydtest-mutation-example-gen] coverage (20/42): running Example\.ListLibSpec.pairConcat.concatenates both arguments [sydtest-mutation-example-gen] coverage (21/42): running Example\.ListLibSpec.tripleConcat.distinguishes the last element [sydtest-mutation-example-gen] coverage (18/42): running Example\.BoolLibSpec.negateWrapped.negates Just False to Just True [sydtest-mutation-example-gen] coverage (22/42): running Example\.ListLibSpec.tripleConcat.distinguishes the first element [sydtest-mutation-example-gen] coverage (23/42): running Example\.ListLibSpec.tripleConcat.concatenates all three arguments [sydtest-mutation-example-gen] coverage (24/42): running Example\.CaseLibSpec.describeList.describes singleton lists [sydtest-mutation-example-gen] coverage (25/42): running Example\.CaseLibSpec.describeList.describes longer lists [sydtest-mutation-example-gen] coverage (27/42): running Example\.LibSpec.addOne.returns 6 for input 5 [sydtest-mutation-example-gen] coverage (26/42): running Example\.CaseLibSpec.describeList.describes empty lists [sydtest-mutation-example-gen] coverage (28/42): running Example\.LibSpec.addOne.returns 2 for input 1 [sydtest-mutation-example-gen] coverage (5/42): done Example\.LocalDisableLibSpec.withInnerKept.is False when given True (12 mutations) [sydtest-mutation-example-gen] coverage (29/42): running Example\.OtherwiseLibSpec.classify.classifies negative numbers [sydtest-mutation-example-gen] coverage (6/42): done Example\.LocalDisableLibSpec.withInnerBoolLitDisabled.is False when given True (8 mutations) [sydtest-mutation-example-gen] coverage (1/42): done Example\.DoLibSpec.greet.greets quietly (5 mutations) [sydtest-mutation-example-gen] coverage (2/42): done Example\.DoLibSpec.greet.greets loudly (5 mutations) [sydtest-mutation-example-gen] coverage (31/42): running Example\.OtherwiseLibSpec.classify.classifies zero [sydtest-mutation-example-gen] coverage (32/42): running Example\.FunctionExceptionLibSpec.addOneArithDisabled.increments by one [sydtest-mutation-example-gen] coverage (16/42): done Example\.BoolLibSpec.negateWrapped.negates Just True to Just False (0 mutations) [sydtest-mutation-example-gen] coverage (34/42): running Example\.FunctionExceptionLibSpec.addOneFunctionDisabled.increments by one [sydtest-mutation-example-gen] coverage (30/42): running Example\.OtherwiseLibSpec.classify.classifies positive numbers [sydtest-mutation-example-gen] coverage (4/42): done Example\.LocalDisableLibSpec.withInnerKept.is True when given False (12 mutations) [sydtest-mutation-example-gen] coverage (33/42): running Example\.FunctionExceptionLibSpec.addOneArithAndIntLitDisabled.increments by one [sydtest-mutation-example-gen] coverage (18/42): done Example\.BoolLibSpec.negateWrapped.negates Just False to Just True (0 mutations) [sydtest-mutation-example-gen] coverage (37/42): running Example\.LogicLibSpec.eitherPositive.is True when only the first is positive [sydtest-mutation-example-gen] coverage (11/42): done Example\.LocalDisableLibSpec.withInnerDisabled.is True when given False (6 mutations) [sydtest-mutation-example-gen] coverage (27/42): done Example\.LibSpec.addOne.returns 6 for input 5 (4 mutations) [sydtest-mutation-example-gen] coverage (36/42): running Example\.LogicLibSpec.eitherPositive.is False when neither is positive [sydtest-mutation-example-gen] coverage (35/42): running Example\.LogicLibSpec.eitherPositive.is True when only the second is positive [sydtest-mutation-example-gen] coverage (7/42): done Example\.LocalDisableLibSpec.withInnerBoolLitDisabled.is True when given False (8 mutations) [sydtest-mutation-example-gen] coverage (38/42): running Example\.LogicLibSpec.eitherPositive.is True when both are positive [sydtest-mutation-example-gen] coverage (24/42): done Example\.CaseLibSpec.describeList.describes singleton lists (3 mutations) [sydtest-mutation-example-gen] coverage (40/42): running Example\.LogicLibSpec.bothPositive.is True when both are positive [sydtest-mutation-example-gen] coverage (10/42): done Example\.LocalDisableLibSpec.withInnerDisabled.is False when given True (6 mutations) [sydtest-mutation-example-gen] coverage (39/42): running Example\.LogicLibSpec.bothPositive.is False when only the first is positive [sydtest-mutation-example-gen] coverage (9/42): done Example\.LocalDisableLibSpec.withBindKept.passes the input through the toggle function (True -> False) (6 mutations) [sydtest-mutation-example-gen] coverage (22/42): done Example\.ListLibSpec.tripleConcat.distinguishes the first element (3 mutations) [sydtest-mutation-example-gen] coverage (41/42): running Example\.LogicLibSpec.bothPositive.is False when only the second is positive [sydtest-mutation-example-gen] coverage (20/42): done Example\.ListLibSpec.pairConcat.concatenates both arguments (2 mutations) [sydtest-mutation-example-gen] coverage (17/42): done Example\.BoolLibSpec.negateWrapped.leaves Nothing as Nothing (0 mutations) [sydtest-mutation-example-gen] coverage (42/42): running Example\.LogicLibSpec.bothPositive.is False when neither is positive [sydtest-mutation-example-gen] coverage (3/42): done Example\.ExceptionLibSpec.addOneModuleDisabled.increments by one (0 mutations) [sydtest-mutation-example-gen] coverage (23/42): done Example\.ListLibSpec.tripleConcat.concatenates all three arguments (3 mutations) [sydtest-mutation-example-gen] coverage (15/42): done Example\.BoolLibSpec.wrapFalse.is Just False (2 mutations) [sydtest-mutation-example-gen] coverage (31/42): done Example\.OtherwiseLibSpec.classify.classifies zero (9 mutations) [sydtest-mutation-example-gen] coverage (8/42): done Example\.LocalDisableLibSpec.withBindKept.passes the input through the toggle function (False -> True) (6 mutations) [sydtest-mutation-example-gen] coverage (13/42): done Example\.LocalDisableLibSpec.withBindDisabled.passes the input through the toggle function (True -> False) (3 mutations) [sydtest-mutation-example-gen] coverage (14/42): done Example\.BoolLibSpec.wrapTrue.is Just True (2 mutations) [sydtest-mutation-example-gen] coverage (25/42): done Example\.CaseLibSpec.describeList.describes longer lists (3 mutations) [sydtest-mutation-example-gen] coverage (12/42): done Example\.LocalDisableLibSpec.withBindDisabled.passes the input through the toggle function (False -> True) (3 mutations) [sydtest-mutation-example-gen] coverage (21/42): done Example\.ListLibSpec.tripleConcat.distinguishes the last element (3 mutations) [sydtest-mutation-example-gen] coverage (26/42): done Example\.CaseLibSpec.describeList.describes empty lists (3 mutations) [sydtest-mutation-example-gen] coverage (28/42): done Example\.LibSpec.addOne.returns 2 for input 1 (4 mutations) [sydtest-mutation-example-gen] coverage (33/42): done Example\.FunctionExceptionLibSpec.addOneArithAndIntLitDisabled.increments by one (0 mutations) [sydtest-mutation-example-gen] coverage (29/42): done Example\.OtherwiseLibSpec.classify.classifies negative numbers (6 mutations) [sydtest-mutation-example-gen] coverage (19/42): done Example\.ListLibSpec.pairConcat.preserves the order (2 mutations) [sydtest-mutation-example-gen] coverage (36/42): done Example\.LogicLibSpec.eitherPositive.is False when neither is positive (18 mutations) [sydtest-mutation-example-gen] coverage (34/42): done Example\.FunctionExceptionLibSpec.addOneFunctionDisabled.increments by one (0 mutations) [sydtest-mutation-example-gen] coverage (42/42): done Example\.LogicLibSpec.bothPositive.is False when neither is positive (11 mutations) [sydtest-mutation-example-gen] coverage (38/42): done Example\.LogicLibSpec.eitherPositive.is True when both are positive (11 mutations) [sydtest-mutation-example-gen] coverage (32/42): done Example\.FunctionExceptionLibSpec.addOneArithDisabled.increments by one (2 mutations) [sydtest-mutation-example-gen] coverage (40/42): done Example\.LogicLibSpec.bothPositive.is True when both are positive (18 mutations) [sydtest-mutation-example-gen] coverage (35/42): done Example\.LogicLibSpec.eitherPositive.is True when only the second is positive (18 mutations) [sydtest-mutation-example-gen] coverage (30/42): done Example\.OtherwiseLibSpec.classify.classifies positive numbers (9 mutations) [sydtest-mutation-example-gen] coverage (39/42): done Example\.LogicLibSpec.bothPositive.is False when only the first is positive (18 mutations) [sydtest-mutation-example-gen] coverage (41/42): done Example\.LogicLibSpec.bothPositive.is False when only the second is positive (11 mutations) [sydtest-mutation-example-gen] coverage (37/42): done Example\.LogicLibSpec.eitherPositive.is True when only the first is positive (11 mutations) [sydtest-mutation-example-gen] mutation-nix: running mutations [sydtest-mutation-example-gen] Testing mutation IntLit at src/Example/FunctionExceptionLib.hs:15:29-30 #1 [sydtest-mutation-example-gen] @@ -12,7 +12,7 @@ [sydtest-mutation-example-gen]  -- IntLit mutations (replacing the literal @1@) still apply. [sydtest-mutation-example-gen]  {-# ANN addOneArithDisabled ("DisableMutation: Arith" :: String) #-} [sydtest-mutation-example-gen]  addOneArithDisabled :: Int -> Int [sydtest-mutation-example-gen] -addOneArithDisabled n = n + 1 [sydtest-mutation-example-gen] +addOneArithDisabled n = n + 0 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Both Arith and IntLit mutations disabled on this function. [sydtest-mutation-example-gen]  {-# ANN addOneArithAndIntLitDisabled ("DisableMutations: Arith, IntLit" :: String) #-} [sydtest-mutation-example-gen] Testing mutation BoolLit at src/Example/BoolLib.hs:12:17-21 #1 [sydtest-mutation-example-gen] @@ -9,7 +9,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: BoolLit/ConstBool on the inner True, MaybeOp on Just True. [sydtest-mutation-example-gen]  wrapTrue :: Maybe Bool [sydtest-mutation-example-gen] -wrapTrue = Just True [sydtest-mutation-example-gen] +wrapTrue = Just False [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Wraps False in Just. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation BoolLit at src/Example/BoolLib.hs:18:18-23 #1 [sydtest-mutation-example-gen] @@ -15,7 +15,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: BoolLit/ConstBool on the inner False, MaybeOp on Just False. [sydtest-mutation-example-gen]  wrapFalse :: Maybe Bool [sydtest-mutation-example-gen] -wrapFalse = Just False [sydtest-mutation-example-gen] +wrapFalse = Just True [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Negates a wrapped boolean. [sydtest-mutation-example-gen]  negateWrapped :: Maybe Bool -> Maybe Bool [sydtest-mutation-example-gen] Testing mutation MaybeOp at src/Example/BoolLib.hs:18:13-23 #1 [sydtest-mutation-example-gen] @@ -15,7 +15,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: BoolLit/ConstBool on the inner False, MaybeOp on Just False. [sydtest-mutation-example-gen]  wrapFalse :: Maybe Bool [sydtest-mutation-example-gen] -wrapFalse = Just False [sydtest-mutation-example-gen] +wrapFalse = Nothing [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Negates a wrapped boolean. [sydtest-mutation-example-gen]  negateWrapped :: Maybe Bool -> Maybe Bool [sydtest-mutation-example-gen] Testing mutation MaybeOp at src/Example/BoolLib.hs:12:12-21 #1 [sydtest-mutation-example-gen] @@ -9,7 +9,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: BoolLit/ConstBool on the inner True, MaybeOp on Just True. [sydtest-mutation-example-gen]  wrapTrue :: Maybe Bool [sydtest-mutation-example-gen] -wrapTrue = Just True [sydtest-mutation-example-gen] +wrapTrue = Nothing [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Wraps False in Just. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation RemoveAction at src/Example/DoLib.hs:12:10-16 #1 [sydtest-mutation-example-gen] @@ -9,7 +9,6 @@ [sydtest-mutation-example-gen]  greet loud = execWriter go [sydtest-mutation-example-gen]  where [sydtest-mutation-example-gen]  go :: Writer String () [sydtest-mutation-example-gen]  go = do [sydtest-mutation-example-gen] - tell "Hello" [sydtest-mutation-example-gen]  if loud then tell "!" else pure () [sydtest-mutation-example-gen]  tell "\n" [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/DoLib.hs:14:10-14 #1 [sydtest-mutation-example-gen] @@ -11,5 +11,5 @@ [sydtest-mutation-example-gen]  go :: Writer String () [sydtest-mutation-example-gen]  go = do [sydtest-mutation-example-gen]  tell "Hello" [sydtest-mutation-example-gen] - if loud then tell "!" else pure () [sydtest-mutation-example-gen] + if True then tell "!" else pure () [sydtest-mutation-example-gen]  tell "\n" [sydtest-mutation-example-gen] Testing mutation IntLit at src/Example/LogicLib.hs:17:26-27 #1 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = a > 1 || b > 0 [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/DoLib.hs:14:10-14 #1 [sydtest-mutation-example-gen] @@ -11,5 +11,5 @@ [sydtest-mutation-example-gen]  go :: Writer String () [sydtest-mutation-example-gen]  go = do [sydtest-mutation-example-gen]  tell "Hello" [sydtest-mutation-example-gen] - if loud then tell "!" else pure () [sydtest-mutation-example-gen] + if not (loud) then tell "!" else pure () [sydtest-mutation-example-gen]  tell "\n" [sydtest-mutation-example-gen] Testing mutation IntLit at src/Example/LogicLib.hs:17:35-36 #1 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = a > 0 || b > 1 [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LogicLib.hs:17:22-27 #1 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = True || b > 0 [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/LogicLib.hs:17:22-27 #1 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = a < 0 || b > 0 [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LogicLib.hs:17:22-27 #1 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = not (a > 0) || b > 0 [sydtest-mutation-example-gen] Testing mutation RemoveAction at src/Example/DoLib.hs:14:7-41 #1 [sydtest-mutation-example-gen] @@ -11,5 +11,4 @@ [sydtest-mutation-example-gen]  go :: Writer String () [sydtest-mutation-example-gen]  go = do [sydtest-mutation-example-gen]  tell "Hello" [sydtest-mutation-example-gen] - if loud then tell "!" else pure () [sydtest-mutation-example-gen]  tell "\n" [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LogicLib.hs:17:31-36 #1 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = a > 0 || not (b > 0) [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/LogicLib.hs:17:31-36 #1 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = a > 0 || b < 0 [sydtest-mutation-example-gen] Testing mutation LogicOp at src/Example/LogicLib.hs:17:22-36 #1 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] Testing mutation IntLit at src/Example/LogicLib.hs:11:24-25 #1 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = a > 1 && b > 0 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/LogicLib.hs:11:20-25 #1 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = a < 0 && b > 0 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LogicLib.hs:17:22-36 #1 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = not (a > 0 || b > 0) [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/LogicLib.hs:11:29-34 #1 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = a > 0 && b < 0 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LogicLib.hs:11:20-25 #1 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = not (a > 0) && b > 0 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation IntLit at src/Example/LogicLib.hs:11:33-34 #1 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = a > 0 && b > 1 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LogicLib.hs:17:31-36 #1 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = a > 0 || True [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LogicLib.hs:11:29-34 #1 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = a > 0 && not (b > 0) [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LogicLib.hs:17:22-36 #1 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = True [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LogicLib.hs:11:29-34 #1 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = a > 0 && True [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LogicLib.hs:11:20-25 #1 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = True && b > 0 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation LogicOp at src/Example/LogicLib.hs:11:20-34 #1 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LogicLib.hs:11:20-34 #1 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = True [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LogicLib.hs:11:20-34 #1 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = not (a > 0 && b > 0) [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation IntLit at src/Example/Lib.hs:8:16-17 #1 [sydtest-mutation-example-gen] @@ -5,4 +5,4 @@ [sydtest-mutation-example-gen]  -- The literal '1' here is a mutation site: the plugin will also compile a [sydtest-mutation-example-gen]  -- version where this returns @n + 0@ instead of @n + 1@. [sydtest-mutation-example-gen]  addOne :: Int -> Int [sydtest-mutation-example-gen] -addOne n = n + 1 [sydtest-mutation-example-gen] +addOne n = n + 0 [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:58:19-20 #1 [sydtest-mutation-example-gen] @@ -55,5 +55,5 @@ [sydtest-mutation-example-gen]  -- @toggle b@ is fully instrumented. [sydtest-mutation-example-gen]  withBindKept :: (Bool -> IO Bool) -> Bool -> IO Bool [sydtest-mutation-example-gen]  withBindKept toggle b = do [sydtest-mutation-example-gen] - inner <- toggle b [sydtest-mutation-example-gen] + inner <- toggle not (b) [sydtest-mutation-example-gen]  pure inner [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:59:8-13 #1 [sydtest-mutation-example-gen] @@ -56,4 +56,4 @@ [sydtest-mutation-example-gen]  withBindKept :: (Bool -> IO Bool) -> Bool -> IO Bool [sydtest-mutation-example-gen]  withBindKept toggle b = do [sydtest-mutation-example-gen]  inner <- toggle b [sydtest-mutation-example-gen] - pure inner [sydtest-mutation-example-gen] + pure True [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:52:8-13 #1 [sydtest-mutation-example-gen] @@ -49,7 +49,7 @@ [sydtest-mutation-example-gen]  withBindDisabled :: (Bool -> IO Bool) -> Bool -> IO Bool [sydtest-mutation-example-gen]  withBindDisabled toggle b = do [sydtest-mutation-example-gen]  inner <- toggle b [sydtest-mutation-example-gen] - pure inner [sydtest-mutation-example-gen] + pure True [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Control for 'withBindDisabled': no disable annotation, so the RHS [sydtest-mutation-example-gen]  -- @toggle b@ is fully instrumented. [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:36:19-20 #1 [sydtest-mutation-example-gen] @@ -33,7 +33,7 @@ [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen]  withInnerKept :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerKept b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + let inner = not True [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Same idea as 'withInnerDisabled', but the local binding is introduced [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:59:8-13 #1 [sydtest-mutation-example-gen] @@ -56,4 +56,4 @@ [sydtest-mutation-example-gen]  withBindKept :: (Bool -> IO Bool) -> Bool -> IO Bool [sydtest-mutation-example-gen]  withBindKept toggle b = do [sydtest-mutation-example-gen]  inner <- toggle b [sydtest-mutation-example-gen] - pure inner [sydtest-mutation-example-gen] + pure not (inner) [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:36:19-20 #1 [sydtest-mutation-example-gen] @@ -33,7 +33,7 @@ [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen]  withInnerKept :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerKept b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + let inner = not not (b) [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Same idea as 'withInnerDisabled', but the local binding is introduced [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:52:8-13 #1 [sydtest-mutation-example-gen] @@ -49,7 +49,7 @@ [sydtest-mutation-example-gen]  withBindDisabled :: (Bool -> IO Bool) -> Bool -> IO Bool [sydtest-mutation-example-gen]  withBindDisabled toggle b = do [sydtest-mutation-example-gen]  inner <- toggle b [sydtest-mutation-example-gen] - pure inner [sydtest-mutation-example-gen] + pure not (inner) [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Control for 'withBindDisabled': no disable annotation, so the RHS [sydtest-mutation-example-gen]  -- @toggle b@ is fully instrumented. [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:36:15-20 #1 [sydtest-mutation-example-gen] @@ -33,7 +33,7 @@ [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen]  withInnerKept :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerKept b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + let inner = True [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Same idea as 'withInnerDisabled', but the local binding is introduced [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:36:15-20 #1 [sydtest-mutation-example-gen] @@ -33,7 +33,7 @@ [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen]  withInnerKept :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerKept b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + let inner = not (not b) [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Same idea as 'withInnerDisabled', but the local binding is introduced [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:37:7-12 #1 [sydtest-mutation-example-gen] @@ -34,7 +34,7 @@ [sydtest-mutation-example-gen]  withInnerKept :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerKept b = [sydtest-mutation-example-gen]  let inner = not b [sydtest-mutation-example-gen] - in inner [sydtest-mutation-example-gen] + in True [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Same idea as 'withInnerDisabled', but the local binding is introduced [sydtest-mutation-example-gen]  -- by a @do@-block @<-@ statement instead of a @let@. The annotation [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:37:7-12 #1 [sydtest-mutation-example-gen] @@ -34,7 +34,7 @@ [sydtest-mutation-example-gen]  withInnerKept :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerKept b = [sydtest-mutation-example-gen]  let inner = not b [sydtest-mutation-example-gen] - in inner [sydtest-mutation-example-gen] + in not (inner) [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Same idea as 'withInnerDisabled', but the local binding is introduced [sydtest-mutation-example-gen]  -- by a @do@-block @<-@ statement instead of a @let@. The annotation [sydtest-mutation-example-gen] Testing mutation Arith at src/Example/Lib.hs:8:12-17 #1 [sydtest-mutation-example-gen] @@ -5,4 +5,4 @@ [sydtest-mutation-example-gen]  -- The literal '1' here is a mutation site: the plugin will also compile a [sydtest-mutation-example-gen]  -- version where this returns @n + 0@ instead of @n + 1@. [sydtest-mutation-example-gen]  addOne :: Int -> Int [sydtest-mutation-example-gen] -addOne n = n + 1 [sydtest-mutation-example-gen] +addOne n = n - 1 [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:36:3-12 #1 [sydtest-mutation-example-gen] @@ -33,8 +33,8 @@ [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen]  withInnerKept :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerKept b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + True = not b [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Same idea as 'withInnerDisabled', but the local binding is introduced [sydtest-mutation-example-gen]  -- by a @do@-block @<-@ statement instead of a @let@. The annotation [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:36:3-12 #1 [sydtest-mutation-example-gen] @@ -33,8 +33,8 @@ [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen]  withInnerKept :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerKept b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] - in inner [sydtest-mutation-example-gen] + not (let inner = not b [sydtest-mutation-example-gen] + in inner) [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Same idea as 'withInnerDisabled', but the local binding is introduced [sydtest-mutation-example-gen]  -- by a @do@-block @<-@ statement instead of a @let@. The annotation [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:29:19-20 #1 [sydtest-mutation-example-gen] @@ -26,7 +26,7 @@ [sydtest-mutation-example-gen]  {-# ANN withInnerBoolLitDisabled ("DisableMutationsFor inner: ConstBool" :: String) #-} [sydtest-mutation-example-gen]  withInnerBoolLitDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerBoolLitDisabled b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + let inner = not not (b) [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Control: no disable annotation. Both @ConstBool@ and @Negate@ fire [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:29:15-20 #1 [sydtest-mutation-example-gen] @@ -26,7 +26,7 @@ [sydtest-mutation-example-gen]  {-# ANN withInnerBoolLitDisabled ("DisableMutationsFor inner: ConstBool" :: String) #-} [sydtest-mutation-example-gen]  withInnerBoolLitDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerBoolLitDisabled b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + let inner = not (not b) [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Control: no disable annotation. Both @ConstBool@ and @Negate@ fire [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:30:7-12 #1 [sydtest-mutation-example-gen] @@ -27,7 +27,7 @@ [sydtest-mutation-example-gen]  withInnerBoolLitDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerBoolLitDisabled b = [sydtest-mutation-example-gen]  let inner = not b [sydtest-mutation-example-gen] - in inner [sydtest-mutation-example-gen] + in True [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Control: no disable annotation. Both @ConstBool@ and @Negate@ fire [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:30:7-12 #1 [sydtest-mutation-example-gen] @@ -27,7 +27,7 @@ [sydtest-mutation-example-gen]  withInnerBoolLitDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerBoolLitDisabled b = [sydtest-mutation-example-gen]  let inner = not b [sydtest-mutation-example-gen] - in inner [sydtest-mutation-example-gen] + in not (inner) [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Control: no disable annotation. Both @ConstBool@ and @Negate@ fire [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:58:19-20 #1 [sydtest-mutation-example-gen] @@ -55,5 +55,5 @@ [sydtest-mutation-example-gen]  -- @toggle b@ is fully instrumented. [sydtest-mutation-example-gen]  withBindKept :: (Bool -> IO Bool) -> Bool -> IO Bool [sydtest-mutation-example-gen]  withBindKept toggle b = do [sydtest-mutation-example-gen] - inner <- toggle b [sydtest-mutation-example-gen] + inner <- toggle True [sydtest-mutation-example-gen]  pure inner [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:29:3-12 #1 [sydtest-mutation-example-gen] @@ -26,8 +26,8 @@ [sydtest-mutation-example-gen]  {-# ANN withInnerBoolLitDisabled ("DisableMutationsFor inner: ConstBool" :: String) #-} [sydtest-mutation-example-gen]  withInnerBoolLitDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerBoolLitDisabled b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] - in inner [sydtest-mutation-example-gen] + not (let inner = not b [sydtest-mutation-example-gen] + in inner) [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Control: no disable annotation. Both @ConstBool@ and @Negate@ fire [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:29:3-12 #1 [sydtest-mutation-example-gen] @@ -26,8 +26,8 @@ [sydtest-mutation-example-gen]  {-# ANN withInnerBoolLitDisabled ("DisableMutationsFor inner: ConstBool" :: String) #-} [sydtest-mutation-example-gen]  withInnerBoolLitDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerBoolLitDisabled b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + True = not b [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Control: no disable annotation. Both @ConstBool@ and @Negate@ fire [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:21:7-12 #1 [sydtest-mutation-example-gen] @@ -18,7 +18,7 @@ [sydtest-mutation-example-gen]  withInnerDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerDisabled b = [sydtest-mutation-example-gen]  let inner = not b [sydtest-mutation-example-gen] - in inner [sydtest-mutation-example-gen] + in not (inner) [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Like 'withInnerDisabled', but only @ConstBool@ is disabled inside [sydtest-mutation-example-gen]  -- @inner@'s RHS. Other operators on @inner@'s RHS (notably the @Negate@ [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:21:7-12 #1 [sydtest-mutation-example-gen] @@ -18,7 +18,7 @@ [sydtest-mutation-example-gen]  withInnerDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerDisabled b = [sydtest-mutation-example-gen]  let inner = not b [sydtest-mutation-example-gen] - in inner [sydtest-mutation-example-gen] + in True [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Like 'withInnerDisabled', but only @ConstBool@ is disabled inside [sydtest-mutation-example-gen]  -- @inner@'s RHS. Other operators on @inner@'s RHS (notably the @Negate@ [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/LocalDisableLib.hs:20:3-12 #1 [sydtest-mutation-example-gen] @@ -17,8 +17,8 @@ [sydtest-mutation-example-gen]  {-# ANN withInnerDisabled ("DisableMutationsFor inner" :: String) #-} [sydtest-mutation-example-gen]  withInnerDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerDisabled b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] - in inner [sydtest-mutation-example-gen] + not (let inner = not b [sydtest-mutation-example-gen] + in inner) [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Like 'withInnerDisabled', but only @ConstBool@ is disabled inside [sydtest-mutation-example-gen]  -- @inner@'s RHS. Other operators on @inner@'s RHS (notably the @Negate@ [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:20:3-12 #1 [sydtest-mutation-example-gen] @@ -17,8 +17,8 @@ [sydtest-mutation-example-gen]  {-# ANN withInnerDisabled ("DisableMutationsFor inner" :: String) #-} [sydtest-mutation-example-gen]  withInnerDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerDisabled b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + True = not b [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Like 'withInnerDisabled', but only @ConstBool@ is disabled inside [sydtest-mutation-example-gen]  -- @inner@'s RHS. Other operators on @inner@'s RHS (notably the @Negate@ [sydtest-mutation-example-gen] Testing mutation ListLit at src/Example/ListLib.hs:19:29-38 #1 [sydtest-mutation-example-gen] @@ -16,4 +16,3 @@ [sydtest-mutation-example-gen]  -- Mutation sites: ListLit produces an empty-list mutant, a drop-first mutant, [sydtest-mutation-example-gen]  -- and a drop-last mutant on the literal @[a, b, c]@. [sydtest-mutation-example-gen]  tripleConcat :: String -> String -> String -> String [sydtest-mutation-example-gen] -tripleConcat a b c = concat [a, b, c] [sydtest-mutation-example-gen] Testing mutation ListLit at src/Example/ListLib.hs:12:25-31 #1 [sydtest-mutation-example-gen] @@ -9,7 +9,6 @@ [sydtest-mutation-example-gen]  -- Mutation sites: ListLit produces an empty-list mutant and a drop-first [sydtest-mutation-example-gen]  -- mutant on the literal @[a, b]@. [sydtest-mutation-example-gen]  pairConcat :: String -> String -> String [sydtest-mutation-example-gen] -pairConcat a b = concat [a, b] [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Concatenate a three-element list of strings. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation RemoveCase at src/Example/CaseLib.hs:7:19-16 #1 [sydtest-mutation-example-gen] @@ -4,7 +4,6 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: RemoveCase removes one of the three alternatives. [sydtest-mutation-example-gen]  describeList :: [a] -> String [sydtest-mutation-example-gen]  describeList xs = case xs of [sydtest-mutation-example-gen] - [] -> "empty" [sydtest-mutation-example-gen]  [_] -> "singleton" [sydtest-mutation-example-gen]  _ -> "longer" [sydtest-mutation-example-gen] Testing mutation IntLit at src/Example/OtherwiseLib.hs:12:9-10 #1 [sydtest-mutation-example-gen] @@ -9,6 +9,6 @@ [sydtest-mutation-example-gen]  -- (otherwise = True, so @otherwise -> True@ is a semantic no-op). [sydtest-mutation-example-gen]  classify :: Int -> String [sydtest-mutation-example-gen]  classify n [sydtest-mutation-example-gen] - | n < 0 = "negative" [sydtest-mutation-example-gen] + | n < 1 = "negative" [sydtest-mutation-example-gen]  | n == 0 = "zero" [sydtest-mutation-example-gen]  | otherwise = "positive" [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/OtherwiseLib.hs:12:5-10 #1 [sydtest-mutation-example-gen] @@ -9,6 +9,6 @@ [sydtest-mutation-example-gen]  -- (otherwise = True, so @otherwise -> True@ is a semantic no-op). [sydtest-mutation-example-gen]  classify :: Int -> String [sydtest-mutation-example-gen]  classify n [sydtest-mutation-example-gen] - | n < 0 = "negative" [sydtest-mutation-example-gen] + | n <= 0 = "negative" [sydtest-mutation-example-gen]  | n == 0 = "zero" [sydtest-mutation-example-gen]  | otherwise = "positive" [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/OtherwiseLib.hs:12:5-10 #1 [sydtest-mutation-example-gen] @@ -9,6 +9,6 @@ [sydtest-mutation-example-gen]  -- (otherwise = True, so @otherwise -> True@ is a semantic no-op). [sydtest-mutation-example-gen]  classify :: Int -> String [sydtest-mutation-example-gen]  classify n [sydtest-mutation-example-gen] - | n < 0 = "negative" [sydtest-mutation-example-gen] + | True = "negative" [sydtest-mutation-example-gen]  | n == 0 = "zero" [sydtest-mutation-example-gen]  | otherwise = "positive" [sydtest-mutation-example-gen] Testing mutation IntLit at src/Example/OtherwiseLib.hs:13:10-11 #1 [sydtest-mutation-example-gen] @@ -10,5 +10,5 @@ [sydtest-mutation-example-gen]  classify :: Int -> String [sydtest-mutation-example-gen]  classify n [sydtest-mutation-example-gen]  | n < 0 = "negative" [sydtest-mutation-example-gen] - | n == 0 = "zero" [sydtest-mutation-example-gen] + | n == 1 = "zero" [sydtest-mutation-example-gen]  | otherwise = "positive" [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/OtherwiseLib.hs:13:5-11 #1 [sydtest-mutation-example-gen] @@ -10,5 +10,5 @@ [sydtest-mutation-example-gen]  classify :: Int -> String [sydtest-mutation-example-gen]  classify n [sydtest-mutation-example-gen]  | n < 0 = "negative" [sydtest-mutation-example-gen] - | n == 0 = "zero" [sydtest-mutation-example-gen] + | True = "zero" [sydtest-mutation-example-gen]  | otherwise = "positive" [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/OtherwiseLib.hs:13:5-11 #1 [sydtest-mutation-example-gen] @@ -10,5 +10,5 @@ [sydtest-mutation-example-gen]  classify :: Int -> String [sydtest-mutation-example-gen]  classify n [sydtest-mutation-example-gen]  | n < 0 = "negative" [sydtest-mutation-example-gen] - | n == 0 = "zero" [sydtest-mutation-example-gen] + | not (n == 0) = "zero" [sydtest-mutation-example-gen]  | otherwise = "positive" [sydtest-mutation-example-gen] Testing mutation Negate at src/Example/OtherwiseLib.hs:12:5-10 #1 [sydtest-mutation-example-gen] @@ -9,6 +9,6 @@ [sydtest-mutation-example-gen]  -- (otherwise = True, so @otherwise -> True@ is a semantic no-op). [sydtest-mutation-example-gen]  classify :: Int -> String [sydtest-mutation-example-gen]  classify n [sydtest-mutation-example-gen] - | n < 0 = "negative" [sydtest-mutation-example-gen] + | not (n < 0) = "negative" [sydtest-mutation-example-gen]  | n == 0 = "zero" [sydtest-mutation-example-gen]  | otherwise = "positive" [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LogicLib.hs:17:22-27 #2 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = False || b > 0 [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/DoLib.hs:14:10-14 #2 [sydtest-mutation-example-gen] @@ -11,5 +11,5 @@ [sydtest-mutation-example-gen]  go :: Writer String () [sydtest-mutation-example-gen]  go = do [sydtest-mutation-example-gen]  tell "Hello" [sydtest-mutation-example-gen] - if loud then tell "!" else pure () [sydtest-mutation-example-gen] + if False then tell "!" else pure () [sydtest-mutation-example-gen]  tell "\n" [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LogicLib.hs:17:22-36 #2 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = False [sydtest-mutation-example-gen] Testing mutation IntLit at src/Example/FunctionExceptionLib.hs:15:29-30 #2 [sydtest-mutation-example-gen] @@ -12,7 +12,7 @@ [sydtest-mutation-example-gen]  -- IntLit mutations (replacing the literal @1@) still apply. [sydtest-mutation-example-gen]  {-# ANN addOneArithDisabled ("DisableMutation: Arith" :: String) #-} [sydtest-mutation-example-gen]  addOneArithDisabled :: Int -> Int [sydtest-mutation-example-gen] -addOneArithDisabled n = n + 1 [sydtest-mutation-example-gen] +addOneArithDisabled n = n + -1 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Both Arith and IntLit mutations disabled on this function. [sydtest-mutation-example-gen]  {-# ANN addOneArithAndIntLitDisabled ("DisableMutations: Arith, IntLit" :: String) #-} [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LogicLib.hs:17:31-36 #2 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = a > 0 || False [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LogicLib.hs:11:20-25 #2 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = False && b > 0 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/LogicLib.hs:17:31-36 #2 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = a > 0 || b <= 0 [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/LogicLib.hs:11:29-34 #2 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = a > 0 && b <= 0 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LogicLib.hs:11:29-34 #2 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = a > 0 && False [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/LogicLib.hs:11:20-25 #2 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = a <= 0 && b > 0 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/LogicLib.hs:17:22-27 #2 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = a <= 0 || b > 0 [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:59:8-13 #2 [sydtest-mutation-example-gen] @@ -56,4 +56,4 @@ [sydtest-mutation-example-gen]  withBindKept :: (Bool -> IO Bool) -> Bool -> IO Bool [sydtest-mutation-example-gen]  withBindKept toggle b = do [sydtest-mutation-example-gen]  inner <- toggle b [sydtest-mutation-example-gen] - pure inner [sydtest-mutation-example-gen] + pure False [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:36:15-20 #2 [sydtest-mutation-example-gen] @@ -33,7 +33,7 @@ [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen]  withInnerKept :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerKept b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + let inner = False [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Same idea as 'withInnerDisabled', but the local binding is introduced [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:36:3-12 #2 [sydtest-mutation-example-gen] @@ -33,8 +33,8 @@ [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen]  withInnerKept :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerKept b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + False = not b [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Same idea as 'withInnerDisabled', but the local binding is introduced [sydtest-mutation-example-gen]  -- by a @do@-block @<-@ statement instead of a @let@. The annotation [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:52:8-13 #2 [sydtest-mutation-example-gen] @@ -49,7 +49,7 @@ [sydtest-mutation-example-gen]  withBindDisabled :: (Bool -> IO Bool) -> Bool -> IO Bool [sydtest-mutation-example-gen]  withBindDisabled toggle b = do [sydtest-mutation-example-gen]  inner <- toggle b [sydtest-mutation-example-gen] - pure inner [sydtest-mutation-example-gen] + pure False [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Control for 'withBindDisabled': no disable annotation, so the RHS [sydtest-mutation-example-gen]  -- @toggle b@ is fully instrumented. [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:37:7-12 #2 [sydtest-mutation-example-gen] @@ -34,7 +34,7 @@ [sydtest-mutation-example-gen]  withInnerKept :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerKept b = [sydtest-mutation-example-gen]  let inner = not b [sydtest-mutation-example-gen] - in inner [sydtest-mutation-example-gen] + in False [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Same idea as 'withInnerDisabled', but the local binding is introduced [sydtest-mutation-example-gen]  -- by a @do@-block @<-@ statement instead of a @let@. The annotation [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LogicLib.hs:11:20-34 #2 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = False [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:36:19-20 #2 [sydtest-mutation-example-gen] @@ -33,7 +33,7 @@ [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen]  withInnerKept :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerKept b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + let inner = not False [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Same idea as 'withInnerDisabled', but the local binding is introduced [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:30:7-12 #2 [sydtest-mutation-example-gen] @@ -27,7 +27,7 @@ [sydtest-mutation-example-gen]  withInnerBoolLitDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerBoolLitDisabled b = [sydtest-mutation-example-gen]  let inner = not b [sydtest-mutation-example-gen] - in inner [sydtest-mutation-example-gen] + in False [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Control: no disable annotation. Both @ConstBool@ and @Negate@ fire [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen] Testing mutation IntLit at src/Example/Lib.hs:8:16-17 #2 [sydtest-mutation-example-gen] @@ -5,4 +5,4 @@ [sydtest-mutation-example-gen]  -- The literal '1' here is a mutation site: the plugin will also compile a [sydtest-mutation-example-gen]  -- version where this returns @n + 0@ instead of @n + 1@. [sydtest-mutation-example-gen]  addOne :: Int -> Int [sydtest-mutation-example-gen] -addOne n = n + 1 [sydtest-mutation-example-gen] +addOne n = n + -1 [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:29:3-12 #2 [sydtest-mutation-example-gen] @@ -26,8 +26,8 @@ [sydtest-mutation-example-gen]  {-# ANN withInnerBoolLitDisabled ("DisableMutationsFor inner: ConstBool" :: String) #-} [sydtest-mutation-example-gen]  withInnerBoolLitDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerBoolLitDisabled b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + False = not b [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Control: no disable annotation. Both @ConstBool@ and @Negate@ fire [sydtest-mutation-example-gen]  -- on the @inner@ binding's RHS. [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:58:19-20 #2 [sydtest-mutation-example-gen] @@ -55,5 +55,5 @@ [sydtest-mutation-example-gen]  -- @toggle b@ is fully instrumented. [sydtest-mutation-example-gen]  withBindKept :: (Bool -> IO Bool) -> Bool -> IO Bool [sydtest-mutation-example-gen]  withBindKept toggle b = do [sydtest-mutation-example-gen] - inner <- toggle b [sydtest-mutation-example-gen] + inner <- toggle False [sydtest-mutation-example-gen]  pure inner [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:21:7-12 #2 [sydtest-mutation-example-gen] @@ -18,7 +18,7 @@ [sydtest-mutation-example-gen]  withInnerDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerDisabled b = [sydtest-mutation-example-gen]  let inner = not b [sydtest-mutation-example-gen] - in inner [sydtest-mutation-example-gen] + in False [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Like 'withInnerDisabled', but only @ConstBool@ is disabled inside [sydtest-mutation-example-gen]  -- @inner@'s RHS. Other operators on @inner@'s RHS (notably the @Negate@ [sydtest-mutation-example-gen] Testing mutation Arith at src/Example/Lib.hs:8:12-17 #2 [sydtest-mutation-example-gen] @@ -5,4 +5,4 @@ [sydtest-mutation-example-gen]  -- The literal '1' here is a mutation site: the plugin will also compile a [sydtest-mutation-example-gen]  -- version where this returns @n + 0@ instead of @n + 1@. [sydtest-mutation-example-gen]  addOne :: Int -> Int [sydtest-mutation-example-gen] -addOne n = n + 1 [sydtest-mutation-example-gen] +addOne n = n * 1 [sydtest-mutation-example-gen] Testing mutation RemoveCase at src/Example/CaseLib.hs:7:19-16 #2 [sydtest-mutation-example-gen] @@ -4,7 +4,6 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: RemoveCase removes one of the three alternatives. [sydtest-mutation-example-gen]  describeList :: [a] -> String [sydtest-mutation-example-gen]  describeList xs = case xs of [sydtest-mutation-example-gen]  [] -> "empty" [sydtest-mutation-example-gen] - [_] -> "singleton" [sydtest-mutation-example-gen]  _ -> "longer" [sydtest-mutation-example-gen] Testing mutation ConstBool at src/Example/LocalDisableLib.hs:20:3-12 #2 [sydtest-mutation-example-gen] @@ -17,8 +17,8 @@ [sydtest-mutation-example-gen]  {-# ANN withInnerDisabled ("DisableMutationsFor inner" :: String) #-} [sydtest-mutation-example-gen]  withInnerDisabled :: Bool -> Bool [sydtest-mutation-example-gen]  withInnerDisabled b = [sydtest-mutation-example-gen] - let inner = not b [sydtest-mutation-example-gen] + False = not b [sydtest-mutation-example-gen]  in inner [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Like 'withInnerDisabled', but only @ConstBool@ is disabled inside [sydtest-mutation-example-gen]  -- @inner@'s RHS. Other operators on @inner@'s RHS (notably the @Negate@ [sydtest-mutation-example-gen] Testing mutation ListLit at src/Example/ListLib.hs:12:25-31 #2 [sydtest-mutation-example-gen] @@ -9,7 +9,6 @@ [sydtest-mutation-example-gen]  -- Mutation sites: ListLit produces an empty-list mutant and a drop-first [sydtest-mutation-example-gen]  -- mutant on the literal @[a, b]@. [sydtest-mutation-example-gen]  pairConcat :: String -> String -> String [sydtest-mutation-example-gen] -pairConcat a b = concat [a, b] [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | Concatenate a three-element list of strings. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/OtherwiseLib.hs:12:5-10 #2 [sydtest-mutation-example-gen] @@ -9,6 +9,6 @@ [sydtest-mutation-example-gen]  -- (otherwise = True, so @otherwise -> True@ is a semantic no-op). [sydtest-mutation-example-gen]  classify :: Int -> String [sydtest-mutation-example-gen]  classify n [sydtest-mutation-example-gen] - | n < 0 = "negative" [sydtest-mutation-example-gen] + | n > 0 = "negative" [sydtest-mutation-example-gen]  | n == 0 = "zero" [sydtest-mutation-example-gen]  | otherwise = "positive" [sydtest-mutation-example-gen] Testing mutation ListLit at src/Example/ListLib.hs:19:29-38 #2 [sydtest-mutation-example-gen] @@ -16,4 +16,3 @@ [sydtest-mutation-example-gen]  -- Mutation sites: ListLit produces an empty-list mutant, a drop-first mutant, [sydtest-mutation-example-gen]  -- and a drop-last mutant on the literal @[a, b, c]@. [sydtest-mutation-example-gen]  tripleConcat :: String -> String -> String -> String [sydtest-mutation-example-gen] -tripleConcat a b c = concat [a, b, c] [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/LogicLib.hs:11:20-25 #3 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = a >= 0 && b > 0 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/LogicLib.hs:17:31-36 #3 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = a > 0 || b >= 0 [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/LogicLib.hs:11:29-34 #3 [sydtest-mutation-example-gen] @@ -8,7 +8,7 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @&&@ produces a @||@ alternative. [sydtest-mutation-example-gen]  bothPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -bothPositive a b = a > 0 && b > 0 [sydtest-mutation-example-gen] +bothPositive a b = a > 0 && b >= 0 [sydtest-mutation-example-gen]  [sydtest-mutation-example-gen]  -- | True iff at least one argument is strictly positive. [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/LogicLib.hs:17:22-27 #3 [sydtest-mutation-example-gen] @@ -14,4 +14,4 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: LogicOp on @||@ produces a @&&@ alternative. [sydtest-mutation-example-gen]  eitherPositive :: Int -> Int -> Bool [sydtest-mutation-example-gen] -eitherPositive a b = a > 0 || b > 0 [sydtest-mutation-example-gen] +eitherPositive a b = a >= 0 || b > 0 [sydtest-mutation-example-gen] Testing mutation ListLit at src/Example/ListLib.hs:19:29-38 #3 [sydtest-mutation-example-gen] @@ -16,4 +16,3 @@ [sydtest-mutation-example-gen]  -- Mutation sites: ListLit produces an empty-list mutant, a drop-first mutant, [sydtest-mutation-example-gen]  -- and a drop-last mutant on the literal @[a, b, c]@. [sydtest-mutation-example-gen]  tripleConcat :: String -> String -> String -> String [sydtest-mutation-example-gen] -tripleConcat a b c = concat [a, b, c] [sydtest-mutation-example-gen] Testing mutation Cmp at src/Example/OtherwiseLib.hs:12:5-10 #3 [sydtest-mutation-example-gen] @@ -9,6 +9,6 @@ [sydtest-mutation-example-gen]  -- (otherwise = True, so @otherwise -> True@ is a semantic no-op). [sydtest-mutation-example-gen]  classify :: Int -> String [sydtest-mutation-example-gen]  classify n [sydtest-mutation-example-gen] - | n < 0 = "negative" [sydtest-mutation-example-gen] + | n >= 0 = "negative" [sydtest-mutation-example-gen]  | n == 0 = "zero" [sydtest-mutation-example-gen]  | otherwise = "positive" [sydtest-mutation-example-gen] Testing mutation RemoveCase at src/Example/CaseLib.hs:7:19-16 #3 [sydtest-mutation-example-gen] @@ -4,7 +4,6 @@ [sydtest-mutation-example-gen]  -- [sydtest-mutation-example-gen]  -- Mutation sites: RemoveCase removes one of the three alternatives. [sydtest-mutation-example-gen]  describeList :: [a] -> String [sydtest-mutation-example-gen]  describeList xs = case xs of [sydtest-mutation-example-gen]  [] -> "empty" [sydtest-mutation-example-gen]  [_] -> "singleton" [sydtest-mutation-example-gen] - _ -> "longer" [sydtest-mutation-example-gen] Killed: 103 [sydtest-mutation-example-gen]  (of which timed out: 0) [sydtest-mutation-example-gen] Survived: 0 [sydtest-mutation-example-gen] Uncovered: 0 [sydtest-mutation-example-gen] Skipped: 0 [sydtest-mutation-example-gen] Phase: haddockPhase [sydtest-mutation-example-gen] Preprocessing library for sydtest-mutation-example-gen-0.0.0.0... [sydtest-mutation-example-gen] Running Haddock on library for sydtest-mutation-example-gen-0.0.0.0... [sydtest-mutation-example-gen] [1 of 2] Compiling Example.Gen ( src/Example/Gen.hs, nothing ) [sydtest-mutation-example-gen] [2 of 2] Compiling Paths_sydtest_mutation_example_gen ( dist/build/autogen/Paths_sydtest_mutation_example_gen.hs, nothing ) [sydtest-mutation-example-gen] Haddock coverage: [sydtest-mutation-example-gen]  50% ( 1 / 2) in 'Example.Gen' [sydtest-mutation-example-gen]  Missing documentation for: [sydtest-mutation-example-gen]  Module header [sydtest-mutation-example-gen] Documentation created: dist/doc/html/sydtest-mutation-example-gen/, [sydtest-mutation-example-gen] dist/doc/html/sydtest-mutation-example-gen/sydtest-mutation-example-gen.txt [sydtest-mutation-example-gen] Preprocessing test suite 'sydtest-mutation-example-gen-test' for sydtest-mutation-example-gen-0.0.0.0... [sydtest-mutation-example-gen] Phase: installPhase [sydtest-mutation-example-gen] Installing library in /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/sydtest-mutation-example-gen-0.0.0.0-AdSL0Ove5Z7bJR7ETnROP [sydtest-mutation-example-gen] Phase: fixupPhase [sydtest-mutation-example-gen] shrinking RPATHs of ELF executables and libraries in /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0 [sydtest-mutation-example-gen] shrinking /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/libHSsydtest-mutation-example-gen-0.0.0.0-AdSL0Ove5Z7bJR7ETnROP-ghc9.10.3.so [sydtest-mutation-example-gen] checking for references to /build/ in /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0... [sydtest-mutation-example-gen] patching script interpreter paths in /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0 [sydtest-mutation-example-gen] stripping (with command strip and flags -S -p) in /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0/lib [sydtest-mutation-example-gen] shrinking RPATHs of ELF executables and libraries in /nix/store/w5zpb9kcnhryrnnk6100q30rykm4rj6p-sydtest-mutation-example-gen-0.0.0.0-doc [sydtest-mutation-example-gen] checking for references to /build/ in /nix/store/w5zpb9kcnhryrnnk6100q30rykm4rj6p-sydtest-mutation-example-gen-0.0.0.0-doc... [sydtest-mutation-example-gen] patching script interpreter paths in /nix/store/w5zpb9kcnhryrnnk6100q30rykm4rj6p-sydtest-mutation-example-gen-0.0.0.0-doc [sydtest-mutation-example-gen] shrinking RPATHs of ELF executables and libraries in /nix/store/r86isykhi55hdvl3prc9pl46711x9z35-sydtest-mutation-example-gen-0.0.0.0-report [sydtest-mutation-example-gen] checking for references to /build/ in /nix/store/r86isykhi55hdvl3prc9pl46711x9z35-sydtest-mutation-example-gen-0.0.0.0-report... [sydtest-mutation-example-gen] patching script interpreter paths in /nix/store/r86isykhi55hdvl3prc9pl46711x9z35-sydtest-mutation-example-gen-0.0.0.0-report [post-build-hook] Uploading to cachix cache "sydtest": /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0 /nix/store/r86isykhi55hdvl3prc9pl46711x9z35-sydtest-mutation-example-gen-0.0.0.0-report /nix/store/w5zpb9kcnhryrnnk6100q30rykm4rj6p-sydtest-mutation-example-gen-0.0.0.0-doc [post-build-hook] Pushing 3 paths (76 are already present) using zstd to cache sydtest ⏳ [post-build-hook]  [post-build-hook] Pushing /nix/store/r86isykhi55hdvl3prc9pl46711x9z35-sydtest-mutation-example-gen-0.0.0.0-report (86.10 KiB) [post-build-hook] Pushing /nix/store/w5zpb9kcnhryrnnk6100q30rykm4rj6p-sydtest-mutation-example-gen-0.0.0.0-doc (142.71 KiB) [post-build-hook] Pushing /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0 (286.82 KiB) [post-build-hook]  [post-build-hook] All done. [post-build-hook] Uploading to the NixCI staging cache: /nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0 /nix/store/r86isykhi55hdvl3prc9pl46711x9z35-sydtest-mutation-example-gen-0.0.0.0-report /nix/store/w5zpb9kcnhryrnnk6100q30rykm4rj6p-sydtest-mutation-example-gen-0.0.0.0-doc [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [post-build-hook] copying 3 paths... [post-build-hook] copying path '/nix/store/r86isykhi55hdvl3prc9pl46711x9z35-sydtest-mutation-example-gen-0.0.0.0-report' to 'https://cache.staging.nix-ci.com'... [post-build-hook] copying path '/nix/store/w5zpb9kcnhryrnnk6100q30rykm4rj6p-sydtest-mutation-example-gen-0.0.0.0-doc' to 'https://cache.staging.nix-ci.com'... [post-build-hook] copying path '/nix/store/k8bx4flx9hs4spx5nkbcmvhgrklnsdqd-sydtest-mutation-example-gen-0.0.0.0' to 'https://cache.staging.nix-ci.com'... [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [post-build-hook] copying 1 paths... [post-build-hook] copying path '/nix/store/kq9kyahddjiyv4pvhihylw6vl2kwjfj8-sydtest-mutation-example-gen-0.0.0.0.drv' to 'https://cache.staging.nix-ci.com'... Progress: 1 of 3 built, 3 of 3 downloaded from cache Building sydtest-mutation-example [sydtest-mutation-example] Results: 103 killed, 0 survived, 0 uncovered out of 103 total [sydtest-mutation-example]  [sydtest-mutation-example] Killed: 103 [sydtest-mutation-example]  (of which timed out: 0) [sydtest-mutation-example] Survived: 0 [sydtest-mutation-example] Uncovered: 0 [sydtest-mutation-example] Skipped: 0 [sydtest-mutation-example] Full report: /nix/store/r86isykhi55hdvl3prc9pl46711x9z35-sydtest-mutation-example-gen-0.0.0.0-report/report.txt [sydtest-mutation-example] Machine-readable report: /nix/store/r86isykhi55hdvl3prc9pl46711x9z35-sydtest-mutation-example-gen-0.0.0.0-report/report.json [sydtest-mutation-example]  [sydtest-mutation-example] PASS: All 103 mutation(s) accounted for. [post-build-hook] Uploading to cachix cache "sydtest": /nix/store/23cvigcmmkpiz860pxjbsyg3aya2x3h4-sydtest-mutation-example [post-build-hook] Pushing 1 paths (1 are already present) using zstd to cache sydtest ⏳ [post-build-hook]  [post-build-hook] Pushing /nix/store/23cvigcmmkpiz860pxjbsyg3aya2x3h4-sydtest-mutation-example (688.00 B) [post-build-hook]  [post-build-hook] All done. [post-build-hook] Uploading to the NixCI staging cache: /nix/store/23cvigcmmkpiz860pxjbsyg3aya2x3h4-sydtest-mutation-example [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [post-build-hook] copying 1 paths... [post-build-hook] copying path '/nix/store/23cvigcmmkpiz860pxjbsyg3aya2x3h4-sydtest-mutation-example' to 'https://cache.staging.nix-ci.com'... [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [post-build-hook] copying 1 paths... [post-build-hook] copying path '/nix/store/mivzs9h6ys0bq7qrjp5k2w9i6z3cqw7d-sydtest-mutation-example.drv' to 'https://cache.staging.nix-ci.com'... Progress: 2 of 3 built, 3 of 3 downloaded from cache