www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Beta 2.079.1

reply Martin Nowak <code+news.digitalmars dawg.eu> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

First beta for the 2.079.1 patch release.

Comes with a handful of fixes.

http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.079.1.html

Please report any bugs at https://issues.dlang.org

- -Martin


-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpzRNrTw0HqEtE8TmsnOBFhK7GTkFAlrJEEoACgkQsnOBFhK7
GTk4xQ/+Ma++WcDt2dCJlmoPYE7gwBVBe2gvrJStx9/7Ef0xtmHyVeo3sbKSXIAG
lhdW7cq+ZR6qvpxmMRu3FIRDFLXBtoFHJLAGOC8dwLv8r1naHheZMcEgRS1ryGnp
ae3T+6Qg7TiALTAC4iy2BcBsUw1DR7JFdj+SNx+5mB9OtKS92hWOf1WtudOayQoV
3NEbGp/Wj0NCVhbkgAn9gDonpMRzV/hYXIJFFm9mHrLIDUL2f3ekdX3mhR4dcKQq
cg75FAL2lEe9wsMlkJVYv+wDMAZXe331wLx68xSr/O2PbrohHLPiHA0t79Ith3kP
2eFXjmQ6VoUSXQgiwDrBjadm6KgXUYYjBKKxWWZIdyua+O+hd9kx6BEC/PypZBCq
DHeZ1loNrI1f+d9Dnif0DFB5mXFBtaJ5XlWEdRf7ss+Xo2VYT/ak8LpKnqkob2Tv
FHctFy4KWIR0Z+Plql990t/RtaTKXDKYW+fW0fw4oKGbG+PBvEzvMxj2wREAtqX5
laCd8hE/g8M5qlv6oWOux7dTzDrkOmPYnepeSkK2aelWO0MV2FAH0hEPRf37QXwq
ir9AA0cxiS5Vv3tM0KBi8XA9u6BlvoOzRXIZpAHAINRUYRjiCvB76bAQhH4O4lh4
UQ9oqa0XWDJ7xs7FuaRldTT7TFAEWn/UtTF5kOOc18G+zKnlQOo=
=7ay/
-----END PGP SIGNATURE-----
Apr 07
next sibling parent reply John Colvin <john.loughran.colvin gmail.com> writes:
On Saturday, 7 April 2018 at 18:39:12 UTC, Martin Nowak wrote:
 First beta for the 2.079.1 patch release.

 Comes with a handful of fixes.

 http://dlang.org/download.html#dmd_beta 
 http://dlang.org/changelog/2.079.1.html

 Please report any bugs at https://issues.dlang.org

 - -Martin
Available now on homebrew :) I try to keep homebrew up to date with the latest betas, but the stats show that almost no-one ever downloads them, despite reasonable numbers getting the stable version. See for example https://github.com/Homebrew/homebrew-core/pull/24348#issuecomment-367021918 . I will continue to keep adding the betas for my own use anyway, but please, PLEASE, install the betas and test them, it's so simple, just `brew upgrade dmd --devel`. You can then switch freely between the beta and the stable versions with `brew switch dmd 2.079.0`, `brew switch dmd 2.079.1-beta.1`. To inspect what versions you have installed, `brew info dmd`. To uninstall specific versions, `brew switch` to the relevant version then run `brew uninstall dmd`. The same steps apply for any other betas on homebrew. I try to keep dmd, dub, ldc, dfix, dfmt and dcd up to date. If I'm late updating something, you can try nagging me or you can DIY, take a look at https://github.com/Homebrew/homebrew-core/pulls?utf8=%E2%9C%93&q=is%3Apr+dmd for examples of how to submit the update yourself.
Apr 10
next sibling parent David Gileadi <gileadisNOSPM gmail.com> writes:
On 4/10/18 1:46 AM, John Colvin wrote:
 On Saturday, 7 April 2018 at 18:39:12 UTC, Martin Nowak wrote:
 First beta for the 2.079.1 patch release.

 Comes with a handful of fixes.

 http://dlang.org/download.html#dmd_beta 
 http://dlang.org/changelog/2.079.1.html

 Please report any bugs at https://issues.dlang.org

 - -Martin
Available now on homebrew :)
[snip] I haven't tried the betas yet, but many thanks for keeping homebrew up to date with the regular releases!
Apr 10
prev sibling parent Martin Nowak <code dawg.eu> writes:
On Tuesday, 10 April 2018 at 08:46:55 UTC, John Colvin wrote:
 Available now on homebrew :)
Thanks
 I try to keep homebrew up to date with the latest betas, but 
 the stats show that almost no-one ever downloads them, despite 
 reasonable numbers getting the stable version. See for example 
 https://github.com/Homebrew/homebrew-core/pull/24348#issuecomment-367021918 .

 I will continue to keep adding the betas for my own use anyway, 
 but please, PLEASE, install the betas and test them, it's so 
 simple, just `brew upgrade dmd --devel`.

 You can then switch freely between the beta and the stable 
 versions with `brew switch dmd 2.079.0`, `brew switch dmd 
 2.079.1-beta.1`.
And for all other supported platforms but Windows, just use curl -fsS https://dlang.org/install.sh | bash -s dmd-beta to unpack the beta to ~/dlang, and source ~/dlang/dmd-2.079.1-beta.1/activate to use the beta compiler.
Apr 10
prev sibling parent reply Thomas Mader <thomas.mader gmail.com> writes:
On Saturday, 7 April 2018 at 18:39:12 UTC, Martin Nowak wrote:
 First beta for the 2.079.1 patch release.

 Comes with a handful of fixes.

 http://dlang.org/download.html#dmd_beta 
 http://dlang.org/changelog/2.079.1.html

 Please report any bugs at https://issues.dlang.org

 - -Martin
Running the dub tests on Mac OSX 10.13.5 Beta via the Nix package manager doesn't work. I tried it two times. The overflow seems strange. [INFO] Running /private/tmp/nix-build-dubUnittests-1.8.1-beta.1.drv-0/source/test/fetchzip.sh... Fetching diet-ng 1.4.5 (getting selected version)... Fetching taggedalgebraic 0.10.11 (getting selected version)... Fetching stdx-allocator 2.77.1 (getting selected version)... Fetching vibe-d 0.8.3 (getting selected version)... Fetching vibe-core 1.4.0 (getting selected version)... Fetching eventcore 0.8.34 (getting selected version)... Performing "debug" build using dmd for x86_64. taggedalgebraic 0.10.11: building configuration "library"... eventcore 0.8.34: building configuration "kqueue"... stdx-allocator 2.77.1: building configuration "library"... vibe-core 1.4.0: building configuration "kqueue"... vibe-d:utils 0.8.3: building configuration "library"... vibe-d:data 0.8.3: building configuration "library"... vibe-d:crypto 0.8.3: building configuration "library"... diet-ng 1.4.5: building configuration "library"... vibe-d:stream 0.8.3: building configuration "library"... vibe-d:textfilter 0.8.3: building configuration "library"... vibe-d:inet 0.8.3: building configuration "library"... vibe-d:tls 0.8.3: building configuration "openssl"... vibe-d:http 0.8.3: building configuration "library"... vibe-d:mail 0.8.3: building configuration "library"... vibe-d:mongodb 0.8.3: building configuration "library"... vibe-d:redis 0.8.3: building configuration "library"... vibe-d:web 0.8.3: building configuration "library"... vibe-d 0.8.3: building configuration "vibe-core"... test_registry ~master: building configuration "application"... Linking... std.conv.ConvOverflowException /nix/store/mns8lg3j3gy5ddv6h152l6karkpxkc13-dmdBuild-2.079.1-beta.1/include/ 2/std/conv.d(2164): Overflow in integral conversion ---------------- 4 test_registry 0x0000000106393c93 pure safe ushort std.conv.parse!(ushort, immutable(char)[]).parse(ref immutable(char)[]) + 119 5 test_registry 0x0000000106393cd4 pure safe ushort std.conv.toImpl!(ushort, immutable(char)[]).toImpl(immutable(char)[]) + 28 6 test_registry 0x0000000106393c17 pure safe ushort std.conv.to!(ushort).to!(immutable(char)[]).to(immutable(char)[]) + 31 7 test_registry 0x0000000106423cc4 safe vibe.http.server.HTTPServerSettings vibe.http.server.HTTPServerSettings.__ctor(immutable(char)[]) + 624 8 test_registry 0x00000001063594ff safe vibe.http.server.HTTPListener vibe.http.server.listenHTTP!(immutable(char)[]).listenHTTP(immutable(char)[], void delegate(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse) safe) + 59 9 test_registry 0x00000001063594bd safe vibe.http.server.HTTPListener vibe.http.server.listenHTTP!(immutable(char)[]).listenHTTP(immutable(char)[], vibe.http.server.HTTPServerRequestHandler) + 57 10 test_registry 0x0000000106341c09 _Dmain + 441 11 test_registry 0x000000010658f1bf void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().__lambda1() + 39 12 test_registry 0x000000010658f04f void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 31 13 test_registry 0x000000010658f12a void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() + 138 14 test_registry 0x000000010658f04f void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 31 15 test_registry 0x000000010658efbd _d_run_main + 485 16 test_registry 0x0000000106341c39 main + 33 17 libdyld.dylib 0x00007fff6ab81014 start + 0 18 ??? 0x0000000000000002 0x0 + 2 Trying to download gitcompatibledubpackage (1.0.4) std.conv.ConvOverflowException /nix/store/mns8lg3j3gy5ddv6h152l6karkpxkc13-dmdBuild-2.079.1-beta.1/include/ 2/std/conv.d(2164): Overflow in integral conversion ---------------- 4 dub 0x0000000108bd0c86 pure safe ushort std.conv.parse!(ushort, immutable(char)[]).parse(ref immutable(char)[]) + 158 5 dub 0x0000000108bd0cbc pure safe ushort std.conv.toImpl!(ushort, immutable(char)[]).toImpl(immutable(char)[]) + 28 6 dub 0x0000000108bd0bdf pure safe ushort std.conv.to!(ushort).to!(immutable(char)[]).to(immutable(char)[]) + 31 7 dub 0x0000000108bd2d15 ref dub.internal.vibecompat.inet.url.URL dub.internal.vibecompat.inet.url.URL.__ctor(immutable(char)[]) + 925 8 dub 0x0000000108a1e472 dub.packagesupplier.PackageSupplier dub.commandline.runDubCommandLine(immutable(char)[][]).__lambda13!(immutable(char)[]).__lambda1 (immutable(char)[]) + 258 9 dub 0x0000000108a1ea1a property dub.packagesupplier.PackageSupplier std.algorithm.iteration.MapResult!(dub.commandline.runDubCommandLine(immutable(ch r)[][]).__lambda13, immutable(char)[][]).MapResult.front() + 58 10 dub 0x0000000108aa63a2 dub.packagesupplier.PackageSupplier[] std.array.array!(std.algorithm.iteration.MapResult!(dub.commandline.runDubCommandLine(immutable(ch r)[][]).__lambda13, immutable(char)[][]).MapResult).array(std.algorithm.iteration.MapResult!(dub.commandline.runDubCommandLine(immutable(ch r)[][]).__lambda13, immutable(char)[][]).MapResult) + 98 11 dub 0x0000000108a12d1c int dub.commandline.runDubCommandLine(immutable(char)[][]) + 2924 12 dub 0x0000000108a099cb _Dmain + 31 13 dub 0x0000000108c03b13 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().__lambda1() + 39 14 dub 0x0000000108c039a3 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 31 15 dub 0x0000000108c03a7e void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() + 138 16 dub 0x0000000108c039a3 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 31 17 dub 0x0000000108c03911 _d_run_main + 485 18 dub 0x0000000108a099e3 main + 15 19 dub 0x0000000108a099a3 start + 51 20 ??? 0x0000000000000005 0x0 + 5 [ERROR] :17 command failed [ERROR] Script failure. [INFO] Running /private/tmp/nix-build-dubUnittests-1.8.1-beta.1.drv-0/source/test/test-version-opt.sh... [INFO] Running /private/tmp/nix-build-dubUnittests-1.8.1-beta.1.drv-0/source/test/timeout.sh... [INFO] Testing unconnectable registry std.conv.ConvOverflowException /nix/store/mns8lg3j3gy5ddv6h152l6karkpxkc13-dmdBuild-2.079.1-beta.1/include/ 2/std/conv.d(2164): Overflow in integral conversion ---------------- 4 dub 0x00000001079a0c86 pure safe ushort std.conv.parse!(ushort, immutable(char)[]).parse(ref immutable(char)[]) + 158 5 dub 0x00000001079a0cbc pure safe ushort std.conv.toImpl!(ushort, immutable(char)[]).toImpl(immutable(char)[]) + 28 6 dub 0x00000001079a0bdf pure safe ushort std.conv.to!(ushort).to!(immutable(char)[]).to(immutable(char)[]) + 31 7 dub 0x00000001079a2d15 ref dub.internal.vibecompat.inet.url.URL dub.internal.vibecompat.inet.url.URL.__ctor(immutable(char)[]) + 925 8 dub 0x00000001077ee472 dub.packagesupplier.PackageSupplier dub.commandline.runDubCommandLine(immutable(char)[][]).__lambda13!(immutable(char)[]).__lambda1 (immutable(char)[]) + 258 9 dub 0x00000001077eea1a property dub.packagesupplier.PackageSupplier std.algorithm.iteration.MapResult!(dub.commandline.runDubCommandLine(immutable(ch r)[][]).__lambda13, immutable(char)[][]).MapResult.front() + 58 10 dub 0x00000001078763a2 dub.packagesupplier.PackageSupplier[] std.array.array!(std.algorithm.iteration.MapResult!(dub.commandline.runDubCommandLine(immutable(ch r)[][]).__lambda13, immutable(char)[][]).MapResult).array(std.algorithm.iteration.MapResult!(dub.commandline.runDubCommandLine(immutable(ch r)[][]).__lambda13, immutable(char)[][]).MapResult) + 98 11 dub 0x00000001077e2d1c int dub.commandline.runDubCommandLine(immutable(char)[][]) + 2924 12 dub 0x00000001077d99cb _Dmain + 31 13 dub 0x00000001079d3b13 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().__lambda1() + 39 14 dub 0x00000001079d39a3 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 31 15 dub 0x00000001079d3a7e void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() + 138 16 dub 0x00000001079d39a3 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 31 17 dub 0x00000001079d3911 _d_run_main + 485 18 dub 0x00000001077d99e3 main + 15 19 dub 0x00000001077d99a3 start + 51 20 ??? 0x0000000000000004 0x0 + 4 [INFO] Testing non-responding registry /private/tmp/nix-build-dubUnittests-1.8.1-beta.1.drv-0/source/test/timeout.sh: line 15: nc: command not found std.conv.ConvOverflowException /nix/store/mns8lg3j3gy5ddv6h152l6karkpxkc13-dmdBuild-2.079.1-beta.1/include/ 2/std/conv.d(2164): Overflow in integral conversion ---------------- 4 dub 0x00000001096e7c86 pure safe ushort std.conv.parse!(ushort, immutable(char)[]).parse(ref immutable(char)[]) + 158 5 dub 0x00000001096e7cbc pure safe ushort std.conv.toImpl!(ushort, immutable(char)[]).toImpl(immutable(char)[]) + 28 6 dub 0x00000001096e7bdf pure safe ushort std.conv.to!(ushort).to!(immutable(char)[]).to(immutable(char)[]) + 31 7 dub 0x00000001096e9d15 ref dub.internal.vibecompat.inet.url.URL dub.internal.vibecompat.inet.url.URL.__ctor(immutable(char)[]) + 925 8 dub 0x0000000109535472 dub.packagesupplier.PackageSupplier dub.commandline.runDubCommandLine(immutable(char)[][]).__lambda13!(immutable(char)[]).__lambda1 (immutable(char)[]) + 258 9 dub 0x0000000109535a1a property dub.packagesupplier.PackageSupplier std.algorithm.iteration.MapResult!(dub.commandline.runDubCommandLine(immutable(ch r)[][]).__lambda13, immutable(char)[][]).MapResult.front() + 58 10 dub 0x00000001095bd3a2 dub.packagesupplier.PackageSupplier[] std.array.array!(std.algorithm.iteration.MapResult!(dub.commandline.runDubCommandLine(immutable(ch r)[][]).__lambda13, immutable(char)[][]).MapResult).array(std.algorithm.iteration.MapResult!(dub.commandline.runDubCommandLine(immutable(ch r)[][]).__lambda13, immutable(char)[][]).MapResult) + 98 11 dub 0x0000000109529d1c int dub.commandline.runDubCommandLine(immutable(char)[][]) + 2924 12 dub 0x00000001095209cb _Dmain + 31 13 dub 0x000000010971ab13 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().__lambda1() + 39 14 dub 0x000000010971a9a3 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 31 15 dub 0x000000010971aa7e void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() + 138 16 dub 0x000000010971a9a3 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 31 17 dub 0x000000010971a911 _d_run_main + 485 18 dub 0x00000001095209e3 main + 15 19 dub 0x00000001095209a3 start + 51 20 ??? 0x0000000000000004 0x0 + 4 [INFO] Testing too slow registry /private/tmp/nix-build-dubUnittests-1.8.1-beta.1.drv-0/source/test/timeout.sh: line 36: nc: command not found timeout: failed to run command 'time': No such file or directory [INFO] Building /private/tmp/nix-build-dubUnittests-1.8.1-beta.1.drv-0/source/test/1-dynLib-simple/... Performing "debug" build using /nix/store/2smirp5xsdv7bmpqwiqzrw2m2f4aqbcm-dmd-2.079.1-beta.1/bin/dmd for x86_64. dynlib-simple ~master: building configuration "library"... Linking... [INFO] Testing /private/tmp/nix-build-dubUnittests-1.8.1-beta.1.drv-0/source/test/1-dynLib-simple/... Generating test runner configuration 'dynlib-simple-test-library' for 'library' (dynamicLibrary). Performing "unittest" build using /nix/store/2smirp5xsdv7bmpqwiqzrw2m2f4aqbcm-dmd-2.079.1-beta.1/bin/dmd for x86_64. dynlib-simple ~master: building configuration "dynlib-simple-test-library"... Linking... Running ./test/1-dynLib-simple/dynlib-simple-test-library All unit tests have been run successfully.
Apr 14
parent reply Martin Nowak <code+news.digitalmars dawg.eu> writes:
On 04/15/2018 12:32 AM, Thomas Mader wrote:
 On Saturday, 7 April 2018 at 18:39:12 UTC, Martin Nowak wrote:
 First beta for the 2.079.1 patch release.

 Comes with a handful of fixes.

 http://dlang.org/download.html#dmd_beta
 http://dlang.org/changelog/2.079.1.html

 Please report any bugs at https://issues.dlang.org

 - -Martin
Running the dub tests on Mac OSX 10.13.5 Beta via the Nix package manager doesn't work. I tried it two times. The overflow seems strange.
Does the dub beta work for you though? Have you tried the official binary? Dub's CI tests were so far targeted at linux and might have some issues with OS dependent differences. On other platform's we've only been running unit-tests, but not the integration test-suite. -Martin
Apr 14
parent Thomas Mader <thomas.mader gmail.com> writes:
On Sunday, 15 April 2018 at 00:52:21 UTC, Martin Nowak wrote:
 Does the dub beta work for you though? Have you tried the 
 official binary?
 Dub's CI tests were so far targeted at linux and might have 
 some issues
 with OS dependent differences.
 On other platform's we've only been running unit-tests, but not 
 the
 integration test-suite.

 -Martin
Haven't tried the official binary. It's also not useful with Nix. I package dub versions regularly on Nix and see those errors for the first time on Mac OSX. I looked at the travis script and it seems you are testing by invoking the run-unittest.sh script too. How do I just run the unittests without the integration test-suite? I packaged the final release version of 1.8.1 and everything worked fine. Strange. With 1.8.1-beta.1 I tried it two times and got the same errors. So not a big problem anymore since I only really package release versions. Still, it would be interesting to know what's going on.
Apr 15