[Issue 17147] New: package build fails without useful info after upgrade to v2.073.0

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Feb 4 19:12:20 PST 2017


https://issues.dlang.org/show_bug.cgi?id=17147

          Issue ID: 17147
           Summary: package build fails without useful info after upgrade
                    to v2.073.0
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: igor.khasilev at gmail.com

After upgrade to v2.073.0 "dub test" for package fails without any useful info:

Performing "unittest" build using dmd for x86_64.
requests 0.4.0+commit.1.g99f7172: building configuration "requests-test-std"...
/Library/D/dmd/src/phobos/std/typecons.d(740,39): Error: template
std.algorithm.mutation.swap cannot deduce function from argument types
!(Tuple!(_Response delegate(const(App), ref HTTPD_Request, RequestArgs),
RequestArgs))(Tuple!(_Response delegate(const(App), ref HTTPD_Request,
RequestArgs), "handler", RequestArgs, "args"), Tuple!(_Response
delegate(const(App), ref HTTPD_Request, RequestArgs), "handler", RequestArgs,
"args")), candidates are:
/Library/D/dmd/src/phobos/std/algorithm/mutation.d(2359,6):       
std.algorithm.mutation.swap(T)(ref T lhs, ref T rhs) if (isBlitAssignable!T &&
!is(typeof(lhs.proxySwap(rhs))))
/Library/D/dmd/src/phobos/std/algorithm/mutation.d(2575,6):       
std.algorithm.mutation.swap(T)(ref T lhs, ref T rhs) if
(is(typeof(lhs.proxySwap(rhs))))
Compiling httpbin server
dmd failed with exit code 1.

I don't see line where template instantiation fails.

Info:

package source: https://github.com/ikod/dlang-requests

$ dmd --version
DMD64 D Compiler v2.073.0
Copyright (c) 1999-2016 by Digital Mars written by Walter Bright

Thanks!

--


More information about the Digitalmars-d-bugs mailing list