Repository: numba/numba

Issue:
Test suite on mainline@8be3456 is failing.
The issue is was first seen in the also unrelated change https://github.com/numba/numba/pull/7606#issuecomment-982522653

Log: https://dev.azure.com/numba/ff1fe4d0-ed73-4f1c-b894-1d50a27e048f/_apis/build/builds/10412/logs/134

Traceback:

<details>

```
2021-11-30T22:54:27.9065268Z INFO: Running slice of discovered tests: (9,None,19)
2021-11-30T22:54:29.6713788Z Parallel: 481. Serial: 82
2021-11-30T22:56:07.3183425Z s........................................................x.......................................E...........................................................s.....s.....OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
2021-11-30T22:57:03.5012397Z ...............................sssssssssssssssssss..........................s...........................................................................................................................................................................................................................................ss.s..ss.s...........ss.sssss.ss..ss..s...ssssOMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
2021-11-30T22:57:43.0094704Z ..........sssssss.sssss........sssss
2021-11-30T22:57:43.0096477Z ======================================================================
2021-11-30T22:57:43.0097247Z ERROR: test_linspace_2 (numba.tests.test_dyn_array.TestLinspace)
2021-11-30T22:57:43.0099105Z ----------------------------------------------------------------------
2021-11-30T22:57:43.0099889Z Traceback (most recent call last):
2021-11-30T22:57:43.0100584Z   File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 155, in propagate
2021-11-30T22:57:43.0101251Z     constraint(typeinfer)
2021-11-30T22:57:43.0101916Z   File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 578, in __call__
2021-11-30T22:57:43.0102621Z     self.resolve(typeinfer, typevars, fnty)
2021-11-30T22:57:43.0103301Z   File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 601, in resolve
2021-11-30T22:57:43.0104006Z     sig = typeinfer.resolve_call(fnty, pos_args, kw_args)
2021-11-30T22:57:43.0104699Z   File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1555, in resolve_call
2021-11-30T22:57:43.0105428Z     return self.context.resolve_function_type(fnty, pos_args, kw_args)
2021-11-30T22:57:43.0106169Z   File "/home/vsts/work/1/s/numba/core/typing/context.py", line 213, in resolve_function_type
2021-11-30T22:57:43.0106863Z     raise last_exception
2021-11-30T22:57:43.0109775Z   File "/home/vsts/work/1/s/numba/core/typing/context.py", line 196, in resolve_function_type
2021-11-30T22:57:43.0110899Z     res = self._resolve_user_function_type(func, args, kws)
2021-11-30T22:57:43.0111638Z   File "/home/vsts/work/1/s/numba/core/typing/context.py", line 248, in _resolve_user_function_type
2021-11-30T22:57:43.0112380Z     return func.get_call_type(self, args, kws)
2021-11-30T22:57:43.0113102Z   File "/home/vsts/work/1/s/numba/core/types/functions.py", line 331, in get_call_type
2021-11-30T22:57:43.0113781Z     failures.raise_error()
2021-11-30T22:57:43.0114454Z   File "/home/vsts/work/1/s/numba/core/types/functions.py", line 227, in raise_error
2021-11-30T22:57:43.0115156Z     raise errors.TypingError(self.format())
2021-11-30T22:57:43.0115955Z numba.core.errors.TypingError: No implementation of function Function(<function linspace at 0x7fe8e58a3b00>) found for signature:
2021-11-30T22:57:43.0116719Z  
2021-11-30T22:57:43.0117280Z  >>> linspace(int64, int64)
2021-11-30T22:57:43.0117830Z  
2021-11-30T22:57:43.0118408Z There are 4 candidate implementations:
2021-11-30T22:57:43.0119387Z       - Of which 4 did not match due to:
2021-11-30T22:57:43.0120482Z       Overload in function '_OverloadWrapper._build.<locals>.ol_generated': File: numba/core/overload_glue.py: Line 131.
2021-11-30T22:57:43.0121499Z         With argument(s): '(int64, int64)':
2021-11-30T22:57:43.0123098Z        Rejected as the implementation raised a specific error:
2021-11-30T22:57:43.0123884Z          TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.0124585Z        Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.0125341Z        No implementation of function Function(<function linspace at 0x7fe8e58a3b00>) found for signature:
2021-11-30T22:57:43.0126005Z         
2021-11-30T22:57:43.0126535Z         >>> linspace(int64, int64, Literal[int](50))
2021-11-30T22:57:43.0127063Z         
2021-11-30T22:57:43.0127628Z        There are 4 candidate implementations:
2021-11-30T22:57:43.0128548Z              - Of which 4 did not match due to:
2021-11-30T22:57:43.0129576Z              Overload in function '_OverloadWrapper._build.<locals>.ol_generated': File: numba/core/overload_glue.py: Line 131.
2021-11-30T22:57:43.0130563Z                With argument(s): '(int64, int64, int64)':
2021-11-30T22:57:43.0131267Z               Rejected as the implementation raised a specific error:
2021-11-30T22:57:43.0132189Z                 TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.0132908Z               Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.0133875Z               No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.0134536Z               
2021-11-30T22:57:43.0135083Z               File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0135706Z                   def linspace(start, stop, num):
2021-11-30T22:57:43.0136411Z                       <source elided>
2021-11-30T22:57:43.0136950Z                       if num == 0:
2021-11-30T22:57:43.0137500Z                           return arr
2021-11-30T22:57:43.0138023Z                           ^
2021-11-30T22:57:43.0138522Z               
2021-11-30T22:57:43.0139138Z               During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.0139735Z               
2021-11-30T22:57:43.0140281Z               File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0140901Z                   def linspace(start, stop, num):
2021-11-30T22:57:43.0141481Z                       <source elided>
2021-11-30T22:57:43.0142030Z                       if num == 0:
2021-11-30T22:57:43.0142564Z                           return arr
2021-11-30T22:57:43.0143087Z                           ^
2021-11-30T22:57:43.0143606Z               
2021-11-30T22:57:43.0144495Z               During: lowering "$10call_function.4 = call $2load_global.0(tmp0, tmp1, tmp2, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3), Var(tmp2, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.0145481Z                   Traceback (most recent call last):
2021-11-30T22:57:43.0146153Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 155, in propagate
2021-11-30T22:57:43.0146784Z                       constraint(typeinfer)
2021-11-30T22:57:43.0147416Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 199, in __call__
2021-11-30T22:57:43.0148133Z                       typeinfer.copy_type(self.src, self.dst, loc=self.loc)
2021-11-30T22:57:43.0149045Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1107, in copy_type
2021-11-30T22:57:43.0149814Z                       self.typevars[dest_var].union(self.typevars[src_var], loc=loc)
2021-11-30T22:57:43.0150495Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 107, in union
2021-11-30T22:57:43.0151138Z                       self.add_type(other.type, loc=loc)
2021-11-30T22:57:43.0151804Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 64, in add_type
2021-11-30T22:57:43.0152402Z                       loc=loc)
2021-11-30T22:57:43.0160044Z                   numba.core.errors.TypingError: No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.0164813Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0165593Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.0172797Z                           <source elided>
2021-11-30T22:57:43.0174172Z                           if num == 0:
2021-11-30T22:57:43.0174662Z                               return arr
2021-11-30T22:57:43.0175085Z                               ^
2021-11-30T22:57:43.0175599Z                   During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.0176283Z                   The above exception was the direct cause of the following exception:
2021-11-30T22:57:43.0176854Z                   Traceback (most recent call last):
2021-11-30T22:57:43.0177420Z                     File "/home/vsts/work/1/s/numba/core/types/functions.py", line 308, in get_call_type
2021-11-30T22:57:43.0177977Z                       sig = temp.apply(nolitargs, nolitkws)
2021-11-30T22:57:43.0178664Z                     File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 351, in apply
2021-11-30T22:57:43.0179176Z                       sig = generic(args, kws)
2021-11-30T22:57:43.0179698Z                     File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 614, in generic
2021-11-30T22:57:43.0180250Z                       disp, new_args = self._get_impl(args, kws)
2021-11-30T22:57:43.0180806Z                     File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 713, in _get_impl
2021-11-30T22:57:43.0181465Z                       impl, args = self._build_impl(cache_key, args, kws)
2021-11-30T22:57:43.0182028Z                     File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 824, in _build_impl
2021-11-30T22:57:43.0182598Z                       disp_type.get_call_type(self.context, args, kws)
2021-11-30T22:57:43.0183165Z                     File "/home/vsts/work/1/s/numba/core/types/functions.py", line 541, in get_call_type
2021-11-30T22:57:43.0183730Z                       self.dispatcher.get_call_template(args, kws)
2021-11-30T22:57:43.0184287Z                     File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 363, in get_call_template
2021-11-30T22:57:43.0184803Z                       self.compile(tuple(args))
2021-11-30T22:57:43.0185314Z                     File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 965, in compile
2021-11-30T22:57:43.0185862Z                       cres = self._compiler.compile(args, return_type)
2021-11-30T22:57:43.0186408Z                     File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 129, in compile
2021-11-30T22:57:43.0186912Z                       raise retval
2021-11-30T22:57:43.0187424Z                     File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 139, in _compile_cached
2021-11-30T22:57:43.0187979Z                       retval = self._compile_core(args, return_type)
2021-11-30T22:57:43.0188533Z                     File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 157, in _compile_core
2021-11-30T22:57:43.0189071Z                       pipeline_class=self.pipeline_class)
2021-11-30T22:57:43.0189590Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 690, in compile_extra
2021-11-30T22:57:43.0190125Z                       return pipeline.compile_extra(func)
2021-11-30T22:57:43.0190655Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.0191191Z                       return self._compile_bytecode()
2021-11-30T22:57:43.0191724Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.0192243Z                       return self._compile_core()
2021-11-30T22:57:43.0192764Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.0193262Z                       raise e
2021-11-30T22:57:43.0193761Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.0194261Z                       pm.run(self.state)
2021-11-30T22:57:43.0194767Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.0195283Z                       raise patched_exception
2021-11-30T22:57:43.0195798Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.0196334Z                       self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.0196878Z                     File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.0197428Z                       return func(*args, **kwargs)
2021-11-30T22:57:43.0197956Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.0198530Z                       mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.0199163Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.0199681Z                       mangled = func(compiler_state)
2021-11-30T22:57:43.0200203Z                     File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 396, in run_pass
2021-11-30T22:57:43.0200703Z                       lower.lower()
2021-11-30T22:57:43.0201195Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 183, in lower
2021-11-30T22:57:43.0201934Z                       self.lower_normal_function(self.fndesc)
2021-11-30T22:57:43.0202640Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 237, in lower_normal_function
2021-11-30T22:57:43.0203209Z                       entry_block_tail = self.lower_function_body()
2021-11-30T22:57:43.0203774Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 266, in lower_function_body
2021-11-30T22:57:43.0204305Z                       self.lower_block(block)
2021-11-30T22:57:43.0204804Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 280, in lower_block
2021-11-30T22:57:43.0205320Z                       self.lower_inst(inst)
2021-11-30T22:57:43.0205823Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 425, in lower_inst
2021-11-30T22:57:43.0206348Z                       val = self.lower_assign(ty, inst)
2021-11-30T22:57:43.0206863Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 611, in lower_assign
2021-11-30T22:57:43.0207400Z                       return self.lower_expr(ty, value)
2021-11-30T22:57:43.0207923Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 1146, in lower_expr
2021-11-30T22:57:43.0208454Z                       res = self.lower_call(resty, expr)
2021-11-30T22:57:43.0208982Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 876, in lower_call
2021-11-30T22:57:43.0209524Z                       res = self._lower_call_normal(fnty, expr, signature)
2021-11-30T22:57:43.0210117Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 1117, in _lower_call_normal
2021-11-30T22:57:43.0210681Z                       res = impl(self.builder, argvals, self.loc)
2021-11-30T22:57:43.0211213Z                     File "/home/vsts/work/1/s/numba/core/base.py", line 1196, in __call__
2021-11-30T22:57:43.0211781Z                       res = self._imp(self._context, builder, self._sig, args, loc=loc)
2021-11-30T22:57:43.0212334Z                     File "/home/vsts/work/1/s/numba/core/base.py", line 1226, in wrapper
2021-11-30T22:57:43.0212850Z                       return fn(*args, **kwargs)
2021-11-30T22:57:43.0213373Z                     File "/home/vsts/work/1/s/numba/np/arrayobj.py", line 4191, in numpy_linspace_3
2021-11-30T22:57:43.0213950Z                       res = context.compile_internal(builder, linspace, sig, args)
2021-11-30T22:57:43.0214518Z                     File "/home/vsts/work/1/s/numba/core/base.py", line 892, in compile_internal
2021-11-30T22:57:43.0215071Z                       cres = self.compile_subroutine(builder, impl, sig, locals)
2021-11-30T22:57:43.0215639Z                     File "/home/vsts/work/1/s/numba/core/base.py", line 879, in compile_subroutine
2021-11-30T22:57:43.0216324Z                       flags=flags)
2021-11-30T22:57:43.0216894Z                     File "/home/vsts/work/1/s/numba/core/base.py", line 852, in _compile_subroutine_no_cache
2021-11-30T22:57:43.0217409Z                       locals=locals)
2021-11-30T22:57:43.0217920Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 764, in compile_internal
2021-11-30T22:57:43.0218460Z                       return pipeline.compile_extra(func)
2021-11-30T22:57:43.0218992Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.0219517Z                       return self._compile_bytecode()
2021-11-30T22:57:43.0220137Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.0220670Z                       return self._compile_core()
2021-11-30T22:57:43.0221213Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.0221707Z                       raise e
2021-11-30T22:57:43.0222185Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.0222692Z                       pm.run(self.state)
2021-11-30T22:57:43.0223275Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.0223792Z                       raise patched_exception
2021-11-30T22:57:43.0224307Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.0224830Z                       self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.0225388Z                     File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.0225934Z                       return func(*args, **kwargs)
2021-11-30T22:57:43.0226460Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.0227020Z                       mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.0227562Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.0228090Z                       mangled = func(compiler_state)
2021-11-30T22:57:43.0228616Z                     File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 112, in run_pass
2021-11-30T22:57:43.0229146Z                       raise_errors=self._raise_errors)
2021-11-30T22:57:43.0229676Z                     File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 83, in type_inference_stage
2021-11-30T22:57:43.0230254Z                       errs = infer.propagate(raise_errors=raise_errors)
2021-11-30T22:57:43.0230808Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1086, in propagate
2021-11-30T22:57:43.0231313Z                       raise errors[0]
2021-11-30T22:57:43.0231868Z                   numba.core.errors.TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.0232511Z                   Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.0233560Z                   No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.0234190Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0234710Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.0235183Z                           <source elided>
2021-11-30T22:57:43.0235615Z                           if num == 0:
2021-11-30T22:57:43.0236060Z                               return arr
2021-11-30T22:57:43.0236475Z                               ^
2021-11-30T22:57:43.0236984Z                   During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.0237532Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0241337Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.0246423Z                           <source elided>
2021-11-30T22:57:43.0248957Z                           if num == 0:
2021-11-30T22:57:43.0249418Z                               return arr
2021-11-30T22:57:43.0249833Z                               ^
2021-11-30T22:57:43.0250624Z                   During: lowering "$10call_function.4 = call $2load_global.0(tmp0, tmp1, tmp2, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3), Var(tmp2, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.0251507Z          raised from /home/vsts/work/1/s/numba/core/typeinfer.py:1086
2021-11-30T22:57:43.0252101Z        
2021-11-30T22:57:43.0252566Z        During: resolving callee type: Function(<function linspace at 0x7fe8e58a3b00>)
2021-11-30T22:57:43.0253135Z        During: typing of call at /home/vsts/work/1/s/numba/np/arrayobj.py (4157)
2021-11-30T22:57:43.0253588Z        
2021-11-30T22:57:43.0253922Z        
2021-11-30T22:57:43.0254349Z        File "numba/np/arrayobj.py", line 4157:
2021-11-30T22:57:43.0254799Z            def linspace(start, stop):
2021-11-30T22:57:43.0255257Z                return np.linspace(start, stop, 50)
2021-11-30T22:57:43.0255673Z                ^
2021-11-30T22:57:43.0256107Z        
2021-11-30T22:57:43.0256766Z        During: lowering "$8call_function.3 = call $2load_global.0(tmp0, tmp1, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.0258436Z            Traceback (most recent call last):
2021-11-30T22:57:43.0259479Z              File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 155, in propagate
2021-11-30T22:57:43.0260612Z                constraint(typeinfer)
2021-11-30T22:57:43.0261580Z              File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 578, in __call__
2021-11-30T22:57:43.0262804Z                self.resolve(typeinfer, typevars, fnty)
2021-11-30T22:57:43.0263834Z              File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 601, in resolve
2021-11-30T22:57:43.0265008Z                sig = typeinfer.resolve_call(fnty, pos_args, kw_args)
2021-11-30T22:57:43.0266128Z              File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1555, in resolve_call
2021-11-30T22:57:43.0267324Z                return self.context.resolve_function_type(fnty, pos_args, kw_args)
2021-11-30T22:57:43.0268481Z              File "/home/vsts/work/1/s/numba/core/typing/context.py", line 213, in resolve_function_type
2021-11-30T22:57:43.0269692Z                raise last_exception
2021-11-30T22:57:43.0270660Z              File "/home/vsts/work/1/s/numba/core/typing/context.py", line 196, in resolve_function_type
2021-11-30T22:57:43.0271906Z                res = self._resolve_user_function_type(func, args, kws)
2021-11-30T22:57:43.0273052Z              File "/home/vsts/work/1/s/numba/core/typing/context.py", line 248, in _resolve_user_function_type
2021-11-30T22:57:43.0274305Z                return func.get_call_type(self, args, kws)
2021-11-30T22:57:43.0275381Z              File "/home/vsts/work/1/s/numba/core/types/functions.py", line 331, in get_call_type
2021-11-30T22:57:43.0276528Z                failures.raise_error()
2021-11-30T22:57:43.0277535Z              File "/home/vsts/work/1/s/numba/core/types/functions.py", line 227, in raise_error
2021-11-30T22:57:43.0278710Z                raise errors.TypingError(self.format())
2021-11-30T22:57:43.0279940Z            numba.core.errors.TypingError: No implementation of function Function(<function linspace at 0x7fe8e58a3b00>) found for signature:
2021-11-30T22:57:43.0281412Z             
2021-11-30T22:57:43.0282399Z             >>> linspace(int64, int64, Literal[int](50))
2021-11-30T22:57:43.0283397Z             
2021-11-30T22:57:43.0284218Z            There are 4 candidate implementations:
2021-11-30T22:57:43.0285583Z                  - Of which 4 did not match due to:
2021-11-30T22:57:43.0287309Z                  Overload in function '_OverloadWrapper._build.<locals>.ol_generated': File: numba/core/overload_glue.py: Line 131.
2021-11-30T22:57:43.0289292Z                    With argument(s): '(int64, int64, int64)':
2021-11-30T22:57:43.0290701Z                   Rejected as the implementation raised a specific error:
2021-11-30T22:57:43.0291959Z                     TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.0293267Z                   Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.0294769Z                   No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.0296291Z                   
2021-11-30T22:57:43.0297661Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0298694Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.0299751Z                           <source elided>
2021-11-30T22:57:43.0300694Z                           if num == 0:
2021-11-30T22:57:43.0301648Z                               return arr
2021-11-30T22:57:43.0302537Z                               ^
2021-11-30T22:57:43.0303443Z                   
2021-11-30T22:57:43.0304316Z                   During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.0305723Z                   
2021-11-30T22:57:43.0306551Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0307632Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.0308671Z                           <source elided>
2021-11-30T22:57:43.0309565Z                           if num == 0:
2021-11-30T22:57:43.0310519Z                               return arr
2021-11-30T22:57:43.0311451Z                               ^
2021-11-30T22:57:43.0312273Z                   
2021-11-30T22:57:43.0313438Z                   During: lowering "$10call_function.4 = call $2load_global.0(tmp0, tmp1, tmp2, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3), Var(tmp2, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.0315538Z                       Traceback (most recent call last):
2021-11-30T22:57:43.0316675Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 155, in propagate
2021-11-30T22:57:43.0317898Z                           constraint(typeinfer)
2021-11-30T22:57:43.0318920Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 199, in __call__
2021-11-30T22:57:43.0320125Z                           typeinfer.copy_type(self.src, self.dst, loc=self.loc)
2021-11-30T22:57:43.0321275Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1107, in copy_type
2021-11-30T22:57:43.0322710Z                           self.typevars[dest_var].union(self.typevars[src_var], loc=loc)
2021-11-30T22:57:43.0323947Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 107, in union
2021-11-30T22:57:43.0325106Z                           self.add_type(other.type, loc=loc)
2021-11-30T22:57:43.0326225Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 64, in add_type
2021-11-30T22:57:43.0327389Z                           loc=loc)
2021-11-30T22:57:43.0328798Z                       numba.core.errors.TypingError: No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.0330748Z                       File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0331836Z                           def linspace(start, stop, num):
2021-11-30T22:57:43.0332958Z                               <source elided>
2021-11-30T22:57:43.0333878Z                               if num == 0:
2021-11-30T22:57:43.0334914Z                                   return arr
2021-11-30T22:57:43.0335841Z                                   ^
2021-11-30T22:57:43.0336815Z                       During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.0338156Z                       The above exception was the direct cause of the following exception:
2021-11-30T22:57:43.0339452Z                       Traceback (most recent call last):
2021-11-30T22:57:43.0340589Z                         File "/home/vsts/work/1/s/numba/core/types/functions.py", line 308, in get_call_type
2021-11-30T22:57:43.0342788Z                           sig = temp.apply(nolitargs, nolitkws)
2021-11-30T22:57:43.0344118Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 351, in apply
2021-11-30T22:57:43.0345304Z                           sig = generic(args, kws)
2021-11-30T22:57:43.0346418Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 614, in generic
2021-11-30T22:57:43.0347922Z                           disp, new_args = self._get_impl(args, kws)
2021-11-30T22:57:43.0349064Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 713, in _get_impl
2021-11-30T22:57:43.0350277Z                           impl, args = self._build_impl(cache_key, args, kws)
2021-11-30T22:57:43.0351436Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 824, in _build_impl
2021-11-30T22:57:43.0353004Z                           disp_type.get_call_type(self.context, args, kws)
2021-11-30T22:57:43.0354397Z                         File "/home/vsts/work/1/s/numba/core/types/functions.py", line 541, in get_call_type
2021-11-30T22:57:43.0355667Z                           self.dispatcher.get_call_template(args, kws)
2021-11-30T22:57:43.0356807Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 363, in get_call_template
2021-11-30T22:57:43.0358048Z                           self.compile(tuple(args))
2021-11-30T22:57:43.0359096Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 965, in compile
2021-11-30T22:57:43.0360281Z                           cres = self._compiler.compile(args, return_type)
2021-11-30T22:57:43.0361484Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 129, in compile
2021-11-30T22:57:43.0362980Z                           raise retval
2021-11-30T22:57:43.0363958Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 139, in _compile_cached
2021-11-30T22:57:43.0365207Z                           retval = self._compile_core(args, return_type)
2021-11-30T22:57:43.0366347Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 157, in _compile_core
2021-11-30T22:57:43.0367592Z                           pipeline_class=self.pipeline_class)
2021-11-30T22:57:43.0368655Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 690, in compile_extra
2021-11-30T22:57:43.0369900Z                           return pipeline.compile_extra(func)
2021-11-30T22:57:43.0370947Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.0372188Z                           return self._compile_bytecode()
2021-11-30T22:57:43.0373249Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.0374482Z                           return self._compile_core()
2021-11-30T22:57:43.0375531Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.0376655Z                           raise e
2021-11-30T22:57:43.0377631Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.0378850Z                           pm.run(self.state)
2021-11-30T22:57:43.0379825Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.0381033Z                           raise patched_exception
2021-11-30T22:57:43.0382075Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.0383256Z                           self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.0384393Z                         File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.0385643Z                           return func(*args, **kwargs)
2021-11-30T22:57:43.0386686Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.0387956Z                           mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.0389095Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.0390508Z                           mangled = func(compiler_state)
2021-11-30T22:57:43.0391573Z                         File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 396, in run_pass
2021-11-30T22:57:43.0392776Z                           lower.lower()
2021-11-30T22:57:43.0393734Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 183, in lower
2021-11-30T22:57:43.0394915Z                           self.lower_normal_function(self.fndesc)
2021-11-30T22:57:43.0396051Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 237, in lower_normal_function
2021-11-30T22:57:43.0397563Z                           entry_block_tail = self.lower_function_body()
2021-11-30T22:57:43.0398698Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 266, in lower_function_body
2021-11-30T22:57:43.0399862Z                           self.lower_block(block)
2021-11-30T22:57:43.0400925Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 280, in lower_block
2021-11-30T22:57:43.0402094Z                           self.lower_inst(inst)
2021-11-30T22:57:43.0403192Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 425, in lower_inst
2021-11-30T22:57:43.0404365Z                           val = self.lower_assign(ty, inst)
2021-11-30T22:57:43.0405420Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 611, in lower_assign
2021-11-30T22:57:43.0406655Z                           return self.lower_expr(ty, value)
2021-11-30T22:57:43.0407706Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 1146, in lower_expr
2021-11-30T22:57:43.0408867Z                           res = self.lower_call(resty, expr)
2021-11-30T22:57:43.0409980Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 876, in lower_call
2021-11-30T22:57:43.0411178Z                           res = self._lower_call_normal(fnty, expr, signature)
2021-11-30T22:57:43.0412332Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 1117, in _lower_call_normal
2021-11-30T22:57:43.0413601Z                           res = impl(self.builder, argvals, self.loc)
2021-11-30T22:57:43.0414712Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 1196, in __call__
2021-11-30T22:57:43.0415924Z                           res = self._imp(self._context, builder, self._sig, args, loc=loc)
2021-11-30T22:57:43.0417135Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 1226, in wrapper
2021-11-30T22:57:43.0418299Z                           return fn(*args, **kwargs)
2021-11-30T22:57:43.0419331Z                         File "/home/vsts/work/1/s/numba/np/arrayobj.py", line 4191, in numpy_linspace_3
2021-11-30T22:57:43.0420548Z                           res = context.compile_internal(builder, linspace, sig, args)
2021-11-30T22:57:43.0421761Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 892, in compile_internal
2021-11-30T22:57:43.0422967Z                           cres = self.compile_subroutine(builder, impl, sig, locals)
2021-11-30T22:57:43.0424206Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 879, in compile_subroutine
2021-11-30T22:57:43.0425355Z                           flags=flags)
2021-11-30T22:57:43.0426382Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 852, in _compile_subroutine_no_cache
2021-11-30T22:57:43.0427606Z                           locals=locals)
2021-11-30T22:57:43.0428574Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 764, in compile_internal
2021-11-30T22:57:43.0429820Z                           return pipeline.compile_extra(func)
2021-11-30T22:57:43.0430863Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.0432096Z                           return self._compile_bytecode()
2021-11-30T22:57:43.0433385Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.0434565Z                           return self._compile_core()
2021-11-30T22:57:43.0435611Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.0436789Z                           raise e
2021-11-30T22:57:43.0437745Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.0438901Z                           pm.run(self.state)
2021-11-30T22:57:43.0440082Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.0441292Z                           raise patched_exception
2021-11-30T22:57:43.0442327Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.0443578Z                           self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.0444668Z                         File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.0445922Z                           return func(*args, **kwargs)
2021-11-30T22:57:43.0446969Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.0448255Z                           mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.0449394Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.0450575Z                           mangled = func(compiler_state)
2021-11-30T22:57:43.0451687Z                         File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 112, in run_pass
2021-11-30T22:57:43.0452849Z                           raise_errors=self._raise_errors)
2021-11-30T22:57:43.0453976Z                         File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 83, in type_inference_stage
2021-11-30T22:57:43.0455200Z                           errs = infer.propagate(raise_errors=raise_errors)
2021-11-30T22:57:43.0456400Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1086, in propagate
2021-11-30T22:57:43.0457552Z                           raise errors[0]
2021-11-30T22:57:43.0458560Z                       numba.core.errors.TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.0460025Z                       Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.0461704Z                       No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.0463520Z                       File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0464608Z                           def linspace(start, stop, num):
2021-11-30T22:57:43.0465679Z                               <source elided>
2021-11-30T22:57:43.0466675Z                               if num == 0:
2021-11-30T22:57:43.0467647Z                                   return arr
2021-11-30T22:57:43.0468586Z                                   ^
2021-11-30T22:57:43.0469545Z                       During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.0470819Z                       File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0471935Z                           def linspace(start, stop, num):
2021-11-30T22:57:43.0472997Z                               <source elided>
2021-11-30T22:57:43.0473953Z                               if num == 0:
2021-11-30T22:57:43.0474924Z                                   return arr
2021-11-30T22:57:43.0475866Z                                   ^
2021-11-30T22:57:43.0477122Z                       During: lowering "$10call_function.4 = call $2load_global.0(tmp0, tmp1, tmp2, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3), Var(tmp2, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.0479568Z              raised from /home/vsts/work/1/s/numba/core/typeinfer.py:1086
2021-11-30T22:57:43.0480730Z            During: resolving callee type: Function(<function linspace at 0x7fe8e58a3b00>)
2021-11-30T22:57:43.0482054Z            During: typing of call at /home/vsts/work/1/s/numba/np/arrayobj.py (4157)
2021-11-30T22:57:43.0483301Z            The above exception was the direct cause of the following exception:
2021-11-30T22:57:43.0484486Z            Traceback (most recent call last):
2021-11-30T22:57:43.0485544Z              File "/home/vsts/work/1/s/numba/core/types/functions.py", line 308, in get_call_type
2021-11-30T22:57:43.0486938Z                sig = temp.apply(nolitargs, nolitkws)
2021-11-30T22:57:43.0488027Z              File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 351, in apply
2021-11-30T22:57:43.0489171Z                sig = generic(args, kws)
2021-11-30T22:57:43.0490124Z              File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 614, in generic
2021-11-30T22:57:43.0491285Z                disp, new_args = self._get_impl(args, kws)
2021-11-30T22:57:43.0492379Z              File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 713, in _get_impl
2021-11-30T22:57:43.0493564Z                impl, args = self._build_impl(cache_key, args, kws)
2021-11-30T22:57:43.0494689Z              File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 824, in _build_impl
2021-11-30T22:57:43.0495871Z                disp_type.get_call_type(self.context, args, kws)
2021-11-30T22:57:43.0497014Z              File "/home/vsts/work/1/s/numba/core/types/functions.py", line 541, in get_call_type
2021-11-30T22:57:43.0498187Z                self.dispatcher.get_call_template(args, kws)
2021-11-30T22:57:43.0499237Z              File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 363, in get_call_template
2021-11-30T22:57:43.0500443Z                self.compile(tuple(args))
2021-11-30T22:57:43.0501392Z              File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 965, in compile
2021-11-30T22:57:43.0502561Z                cres = self._compiler.compile(args, return_type)
2021-11-30T22:57:43.0503648Z              File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 129, in compile
2021-11-30T22:57:43.0504703Z                raise retval
2021-11-30T22:57:43.0505645Z              File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 139, in _compile_cached
2021-11-30T22:57:43.0506817Z                retval = self._compile_core(args, return_type)
2021-11-30T22:57:43.0507915Z              File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 157, in _compile_core
2021-11-30T22:57:43.0509072Z                pipeline_class=self.pipeline_class)
2021-11-30T22:57:43.0510105Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 690, in compile_extra
2021-11-30T22:57:43.0511255Z                return pipeline.compile_extra(func)
2021-11-30T22:57:43.0512267Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.0513413Z                return self._compile_bytecode()
2021-11-30T22:57:43.0514438Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.0515520Z                return self._compile_core()
2021-11-30T22:57:43.0516532Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.0517627Z                raise e
2021-11-30T22:57:43.0518567Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.0519719Z                pm.run(self.state)
2021-11-30T22:57:43.0520665Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.0521886Z                raise patched_exception
2021-11-30T22:57:43.0522978Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.0524372Z                self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.0525425Z              File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.0526647Z                return func(*args, **kwargs)
2021-11-30T22:57:43.0527595Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.0528835Z                mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.0529903Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.0531210Z                mangled = func(compiler_state)
2021-11-30T22:57:43.0532218Z              File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 396, in run_pass
2021-11-30T22:57:43.0533340Z                lower.lower()
2021-11-30T22:57:43.0534268Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 183, in lower
2021-11-30T22:57:43.0535418Z                self.lower_normal_function(self.fndesc)
2021-11-30T22:57:43.0536470Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 237, in lower_normal_function
2021-11-30T22:57:43.0537637Z                entry_block_tail = self.lower_function_body()
2021-11-30T22:57:43.0538759Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 266, in lower_function_body
2021-11-30T22:57:43.0539907Z                self.lower_block(block)
2021-11-30T22:57:43.0540863Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 280, in lower_block
2021-11-30T22:57:43.0541990Z                self.lower_inst(inst)
2021-11-30T22:57:43.0542999Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 425, in lower_inst
2021-11-30T22:57:43.0544110Z                val = self.lower_assign(ty, inst)
2021-11-30T22:57:43.0545139Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 611, in lower_assign
2021-11-30T22:57:43.0546287Z                return self.lower_expr(ty, value)
2021-11-30T22:57:43.0547302Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 1146, in lower_expr
2021-11-30T22:57:43.0548450Z                res = self.lower_call(resty, expr)
2021-11-30T22:57:43.0549478Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 876, in lower_call
2021-11-30T22:57:43.0550650Z                res = self._lower_call_normal(fnty, expr, signature)
2021-11-30T22:57:43.0551758Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 1117, in _lower_call_normal
2021-11-30T22:57:43.0552932Z                res = impl(self.builder, argvals, self.loc)
2021-11-30T22:57:43.0553963Z              File "/home/vsts/work/1/s/numba/core/base.py", line 1196, in __call__
2021-11-30T22:57:43.0555081Z                res = self._imp(self._context, builder, self._sig, args, loc=loc)
2021-11-30T22:57:43.0556258Z              File "/home/vsts/work/1/s/numba/core/base.py", line 1226, in wrapper
2021-11-30T22:57:43.0557307Z                return fn(*args, **kwargs)
2021-11-30T22:57:43.0558325Z              File "/home/vsts/work/1/s/numba/np/arrayobj.py", line 4159, in numpy_linspace_2
2021-11-30T22:57:43.0559510Z                res = context.compile_internal(builder, linspace, sig, args)
2021-11-30T22:57:43.0560637Z              File "/home/vsts/work/1/s/numba/core/base.py", line 892, in compile_internal
2021-11-30T22:57:43.0561924Z                cres = self.compile_subroutine(builder, impl, sig, locals)
2021-11-30T22:57:43.0563199Z              File "/home/vsts/work/1/s/numba/core/base.py", line 879, in compile_subroutine
2021-11-30T22:57:43.0564327Z                flags=flags)
2021-11-30T22:57:43.0565286Z              File "/home/vsts/work/1/s/numba/core/base.py", line 852, in _compile_subroutine_no_cache
2021-11-30T22:57:43.0566429Z                locals=locals)
2021-11-30T22:57:43.0567383Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 764, in compile_internal
2021-11-30T22:57:43.0568600Z                return pipeline.compile_extra(func)
2021-11-30T22:57:43.0569812Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.0570963Z                return self._compile_bytecode()
2021-11-30T22:57:43.0571975Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.0573117Z                return self._compile_core()
2021-11-30T22:57:43.0574140Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.0575198Z                raise e
2021-11-30T22:57:43.0576127Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.0577473Z                pm.run(self.state)
2021-11-30T22:57:43.0578415Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.0579548Z                raise patched_exception
2021-11-30T22:57:43.0580502Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.0581650Z                self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.0582700Z              File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.0583924Z                return func(*args, **kwargs)
2021-11-30T22:57:43.0584892Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.0586064Z                mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.0587161Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.0588315Z                mangled = func(compiler_state)
2021-11-30T22:57:43.0589334Z              File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 112, in run_pass
2021-11-30T22:57:43.0590474Z                raise_errors=self._raise_errors)
2021-11-30T22:57:43.0591520Z              File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 83, in type_inference_stage
2021-11-30T22:57:43.0592712Z                errs = infer.propagate(raise_errors=raise_errors)
2021-11-30T22:57:43.0593819Z              File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1086, in propagate
2021-11-30T22:57:43.0700906Z                raise errors[0]
2021-11-30T22:57:43.0701741Z            numba.core.errors.TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.0702354Z            Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.0702984Z            No implementation of function Function(<function linspace at 0x7fe8e58a3b00>) found for signature:
2021-11-30T22:57:43.0703465Z             
2021-11-30T22:57:43.0703830Z             >>> linspace(int64, int64, Literal[int](50))
2021-11-30T22:57:43.0704175Z             
2021-11-30T22:57:43.0704563Z            There are 4 candidate implementations:
2021-11-30T22:57:43.0705535Z                  - Of which 4 did not match due to:
2021-11-30T22:57:43.0706347Z                  Overload in function '_OverloadWrapper._build.<locals>.ol_generated': File: numba/core/overload_glue.py: Line 131.
2021-11-30T22:57:43.0707130Z                    With argument(s): '(int64, int64, int64)':
2021-11-30T22:57:43.0707615Z                   Rejected as the implementation raised a specific error:
2021-11-30T22:57:43.0708155Z                     TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.0708688Z                   Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.0709449Z                   No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.0709907Z                   
2021-11-30T22:57:43.0710252Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0710687Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.0711083Z                           <source elided>
2021-11-30T22:57:43.0711447Z                           if num == 0:
2021-11-30T22:57:43.0711951Z                               return arr
2021-11-30T22:57:43.0712288Z                               ^
2021-11-30T22:57:43.0712602Z                   
2021-11-30T22:57:43.0713016Z                   During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.0713415Z                   
2021-11-30T22:57:43.0713769Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0714197Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.0714597Z                           <source elided>
2021-11-30T22:57:43.0715024Z                           if num == 0:
2021-11-30T22:57:43.0715412Z                               return arr
2021-11-30T22:57:43.0715762Z                               ^
2021-11-30T22:57:43.0716094Z                   
2021-11-30T22:57:43.0716769Z                   During: lowering "$10call_function.4 = call $2load_global.0(tmp0, tmp1, tmp2, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3), Var(tmp2, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.0717570Z                       Traceback (most recent call last):
2021-11-30T22:57:43.0718057Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 155, in propagate
2021-11-30T22:57:43.0718503Z                           constraint(typeinfer)
2021-11-30T22:57:43.0718941Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 199, in __call__
2021-11-30T22:57:43.0719425Z                           typeinfer.copy_type(self.src, self.dst, loc=self.loc)
2021-11-30T22:57:43.0719903Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1107, in copy_type
2021-11-30T22:57:43.0720407Z                           self.typevars[dest_var].union(self.typevars[src_var], loc=loc)
2021-11-30T22:57:43.0720903Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 107, in union
2021-11-30T22:57:43.0721384Z                           self.add_type(other.type, loc=loc)
2021-11-30T22:57:43.0723307Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 64, in add_type
2021-11-30T22:57:43.0723865Z                           loc=loc)
2021-11-30T22:57:43.0724874Z                       numba.core.errors.TypingError: No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.0725574Z                       File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0726101Z                           def linspace(start, stop, num):
2021-11-30T22:57:43.0726599Z                               <source elided>
2021-11-30T22:57:43.0727049Z                               if num == 0:
2021-11-30T22:57:43.0727512Z                                   return arr
2021-11-30T22:57:43.0727941Z                                   ^
2021-11-30T22:57:43.0728464Z                       During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.0729098Z                       The above exception was the direct cause of the following exception:
2021-11-30T22:57:43.0729690Z                       Traceback (most recent call last):
2021-11-30T22:57:43.0730263Z                         File "/home/vsts/work/1/s/numba/core/types/functions.py", line 308, in get_call_type
2021-11-30T22:57:43.0730831Z                           sig = temp.apply(nolitargs, nolitkws)
2021-11-30T22:57:43.0731381Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 351, in apply
2021-11-30T22:57:43.0731905Z                           sig = generic(args, kws)
2021-11-30T22:57:43.0732438Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 614, in generic
2021-11-30T22:57:43.0733001Z                           disp, new_args = self._get_impl(args, kws)
2021-11-30T22:57:43.0733706Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 713, in _get_impl
2021-11-30T22:57:43.0734425Z                           impl, args = self._build_impl(cache_key, args, kws)
2021-11-30T22:57:43.0735009Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 824, in _build_impl
2021-11-30T22:57:43.0735623Z                           disp_type.get_call_type(self.context, args, kws)
2021-11-30T22:57:43.0736448Z                         File "/home/vsts/work/1/s/numba/core/types/functions.py", line 541, in get_call_type
2021-11-30T22:57:43.0743063Z                           self.dispatcher.get_call_template(args, kws)
2021-11-30T22:57:43.0743807Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 363, in get_call_template
2021-11-30T22:57:43.0744363Z                           self.compile(tuple(args))
2021-11-30T22:57:43.0744883Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 965, in compile
2021-11-30T22:57:43.0745441Z                           cres = self._compiler.compile(args, return_type)
2021-11-30T22:57:43.0746000Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 129, in compile
2021-11-30T22:57:43.0746501Z                           raise retval
2021-11-30T22:57:43.0747012Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 139, in _compile_cached
2021-11-30T22:57:43.0747571Z                           retval = self._compile_core(args, return_type)
2021-11-30T22:57:43.0748126Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 157, in _compile_core
2021-11-30T22:57:43.0748680Z                           pipeline_class=self.pipeline_class)
2021-11-30T22:57:43.0749216Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 690, in compile_extra
2021-11-30T22:57:43.0749754Z                           return pipeline.compile_extra(func)
2021-11-30T22:57:43.0750290Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.0750826Z                           return self._compile_bytecode()
2021-11-30T22:57:43.0751393Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.0751928Z                           return self._compile_core()
2021-11-30T22:57:43.0752453Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.0752955Z                           raise e
2021-11-30T22:57:43.0753448Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.0753964Z                           pm.run(self.state)
2021-11-30T22:57:43.0754474Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.0755000Z                           raise patched_exception
2021-11-30T22:57:43.0755520Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.0756068Z                           self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.0756624Z                         File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.0757172Z                           return func(*args, **kwargs)
2021-11-30T22:57:43.0757706Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.0758264Z                           mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.0758824Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.0759362Z                           mangled = func(compiler_state)
2021-11-30T22:57:43.0759891Z                         File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 396, in run_pass
2021-11-30T22:57:43.0760394Z                           lower.lower()
2021-11-30T22:57:43.0761026Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 183, in lower
2021-11-30T22:57:43.0761822Z                           self.lower_normal_function(self.fndesc)
2021-11-30T22:57:43.0762517Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 237, in lower_normal_function
2021-11-30T22:57:43.0763108Z                           entry_block_tail = self.lower_function_body()
2021-11-30T22:57:43.0763663Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 266, in lower_function_body
2021-11-30T22:57:43.0764300Z                           self.lower_block(block)
2021-11-30T22:57:43.0764816Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 280, in lower_block
2021-11-30T22:57:43.0765330Z                           self.lower_inst(inst)
2021-11-30T22:57:43.0765841Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 425, in lower_inst
2021-11-30T22:57:43.0766377Z                           val = self.lower_assign(ty, inst)
2021-11-30T22:57:43.0766907Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 611, in lower_assign
2021-11-30T22:57:43.0767447Z                           return self.lower_expr(ty, value)
2021-11-30T22:57:43.0767976Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 1146, in lower_expr
2021-11-30T22:57:43.0768506Z                           res = self.lower_call(resty, expr)
2021-11-30T22:57:43.0769034Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 876, in lower_call
2021-11-30T22:57:43.0769600Z                           res = self._lower_call_normal(fnty, expr, signature)
2021-11-30T22:57:43.0770175Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 1117, in _lower_call_normal
2021-11-30T22:57:43.0770737Z                           res = impl(self.builder, argvals, self.loc)
2021-11-30T22:57:43.0771278Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 1196, in __call__
2021-11-30T22:57:43.0771866Z                           res = self._imp(self._context, builder, self._sig, args, loc=loc)
2021-11-30T22:57:43.0772433Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 1226, in wrapper
2021-11-30T22:57:43.0772953Z                           return fn(*args, **kwargs)
2021-11-30T22:57:43.0773500Z                         File "/home/vsts/work/1/s/numba/np/arrayobj.py", line 4191, in numpy_linspace_3
2021-11-30T22:57:43.0774077Z                           res = context.compile_internal(builder, linspace, sig, args)
2021-11-30T22:57:43.0774653Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 892, in compile_internal
2021-11-30T22:57:43.0775223Z                           cres = self.compile_subroutine(builder, impl, sig, locals)
2021-11-30T22:57:43.0775793Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 879, in compile_subroutine
2021-11-30T22:57:43.0776305Z                           flags=flags)
2021-11-30T22:57:43.0776821Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 852, in _compile_subroutine_no_cache
2021-11-30T22:57:43.0777345Z                           locals=locals)
2021-11-30T22:57:43.0777855Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 764, in compile_internal
2021-11-30T22:57:43.0778399Z                           return pipeline.compile_extra(func)
2021-11-30T22:57:43.0778945Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.0779486Z                           return self._compile_bytecode()
2021-11-30T22:57:43.0780021Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.0780567Z                           return self._compile_core()
2021-11-30T22:57:43.0781098Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.0781689Z                           raise e
2021-11-30T22:57:43.0782189Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.0783317Z                           pm.run(self.state)
2021-11-30T22:57:43.0784356Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.0785526Z                           raise patched_exception
2021-11-30T22:57:43.0786570Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.0787966Z                           self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.0789048Z                         File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.0790299Z                           return func(*args, **kwargs)
2021-11-30T22:57:43.0791370Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.0792640Z                           mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.0793766Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.0815074Z                           mangled = func(compiler_state)
2021-11-30T22:57:43.0815631Z                         File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 112, in run_pass
2021-11-30T22:57:43.0816175Z                           raise_errors=self._raise_errors)
2021-11-30T22:57:43.0816741Z                         File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 83, in type_inference_stage
2021-11-30T22:57:43.0817308Z                           errs = infer.propagate(raise_errors=raise_errors)
2021-11-30T22:57:43.0817872Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1086, in propagate
2021-11-30T22:57:43.0818396Z                           raise errors[0]
2021-11-30T22:57:43.0818967Z                       numba.core.errors.TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.0819625Z                       Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.0820682Z                       No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.0821313Z                       File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0821842Z                           def linspace(start, stop, num):
2021-11-30T22:57:43.0822344Z                               <source elided>
2021-11-30T22:57:43.0822794Z                               if num == 0:
2021-11-30T22:57:43.0823286Z                                   return arr
2021-11-30T22:57:43.0823716Z                                   ^
2021-11-30T22:57:43.0824235Z                       During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.0824804Z                       File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0825330Z                           def linspace(start, stop, num):
2021-11-30T22:57:43.0825816Z                               <source elided>
2021-11-30T22:57:43.0826274Z                               if num == 0:
2021-11-30T22:57:43.0826741Z                                   return arr
2021-11-30T22:57:43.0827154Z                                   ^
2021-11-30T22:57:43.0827953Z                       During: lowering "$10call_function.4 = call $2load_global.0(tmp0, tmp1, tmp2, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3), Var(tmp2, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.0828845Z              raised from /home/vsts/work/1/s/numba/core/typeinfer.py:1086
2021-11-30T22:57:43.0829431Z            During: resolving callee type: Function(<function linspace at 0x7fe8e58a3b00>)
2021-11-30T22:57:43.0830034Z            During: typing of call at /home/vsts/work/1/s/numba/np/arrayobj.py (4157)
2021-11-30T22:57:43.0830704Z            File "numba/np/arrayobj.py", line 4157:
2021-11-30T22:57:43.0831168Z                def linspace(start, stop):
2021-11-30T22:57:43.0831647Z                    return np.linspace(start, stop, 50)
2021-11-30T22:57:43.0832075Z                    ^
2021-11-30T22:57:43.0832781Z            During: lowering "$8call_function.3 = call $2load_global.0(tmp0, tmp1, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.0833653Z   raised from /home/vsts/work/1/s/numba/core/typeinfer.py:1086
2021-11-30T22:57:43.0833955Z 
2021-11-30T22:57:43.0834401Z During: resolving callee type: Function(<function linspace at 0x7fe8e58a3b00>)
2021-11-30T22:57:43.0834979Z During: typing of call at /home/vsts/work/1/s/numba/tests/test_dyn_array.py (1241)
2021-11-30T22:57:43.0835320Z 
2021-11-30T22:57:43.0835521Z 
2021-11-30T22:57:43.0835969Z The above exception was the direct cause of the following exception:
2021-11-30T22:57:43.0836298Z 
2021-11-30T22:57:43.0836679Z Traceback (most recent call last):
2021-11-30T22:57:43.0837409Z   File "/home/vsts/work/1/s/numba/tests/test_dyn_array.py", line 1244, in test_linspace_2
2021-11-30T22:57:43.0838612Z     (2, 1), (1+0.5j, 1.5j)])
2021-11-30T22:57:43.0839535Z   File "/home/vsts/work/1/s/numba/tests/test_dyn_array.py", line 50, in check_outputs
2021-11-30T22:57:43.0840649Z     ret = cfunc(*args)
2021-11-30T22:57:43.0841590Z   File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 468, in _compile_for_args
2021-11-30T22:57:43.0843468Z     error_rewrite(e, 'typing')
2021-11-30T22:57:43.0844712Z   File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 407, in error_rewrite
2021-11-30T22:57:43.0845745Z     raise e
2021-11-30T22:57:43.0846702Z   File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 420, in _compile_for_args
2021-11-30T22:57:43.0847878Z     return_val = self.compile(tuple(argtypes))
2021-11-30T22:57:43.0848934Z   File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 965, in compile
2021-11-30T22:57:43.0850041Z     cres = self._compiler.compile(args, return_type)
2021-11-30T22:57:43.0851128Z   File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 129, in compile
2021-11-30T22:57:43.0852158Z     raise retval
2021-11-30T22:57:43.0853057Z   File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 139, in _compile_cached
2021-11-30T22:57:43.0854150Z     retval = self._compile_core(args, return_type)
2021-11-30T22:57:43.0855169Z   File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 157, in _compile_core
2021-11-30T22:57:43.0856298Z     pipeline_class=self.pipeline_class)
2021-11-30T22:57:43.0857260Z   File "/home/vsts/work/1/s/numba/core/compiler.py", line 690, in compile_extra
2021-11-30T22:57:43.0858363Z     return pipeline.compile_extra(func)
2021-11-30T22:57:43.0859298Z   File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.0860416Z     return self._compile_bytecode()
2021-11-30T22:57:43.0861352Z   File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.0862488Z     return self._compile_core()
2021-11-30T22:57:43.0863357Z   File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.0864448Z     raise e
2021-11-30T22:57:43.0865286Z   File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.0866308Z     pm.run(self.state)
2021-11-30T22:57:43.0867227Z   File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.0868341Z     raise patched_exception
2021-11-30T22:57:43.0869271Z   File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.0870329Z     self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.0871333Z   File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.0872709Z     return func(*args, **kwargs)
2021-11-30T22:57:43.0873643Z   File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.0874786Z     mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.0875795Z   File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.0876917Z     mangled = func(compiler_state)
2021-11-30T22:57:43.0877845Z   File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 112, in run_pass
2021-11-30T22:57:43.0878908Z     raise_errors=self._raise_errors)
2021-11-30T22:57:43.0880084Z   File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 83, in type_inference_stage
2021-11-30T22:57:43.0881268Z     errs = infer.propagate(raise_errors=raise_errors)
2021-11-30T22:57:43.0882332Z   File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1086, in propagate
2021-11-30T22:57:43.0883374Z     raise errors[0]
2021-11-30T22:57:43.0884314Z numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.0885684Z No implementation of function Function(<function linspace at 0x7fe8e58a3b00>) found for signature:
2021-11-30T22:57:43.0886955Z  
2021-11-30T22:57:43.0887710Z  >>> linspace(int64, int64)
2021-11-30T22:57:43.0888523Z  
2021-11-30T22:57:43.0889287Z There are 4 candidate implementations:
2021-11-30T22:57:43.0890529Z       - Of which 4 did not match due to:
2021-11-30T22:57:43.0892150Z       Overload in function '_OverloadWrapper._build.<locals>.ol_generated': File: numba/core/overload_glue.py: Line 131.
2021-11-30T22:57:43.0894023Z         With argument(s): '(int64, int64)':
2021-11-30T22:57:43.0895305Z        Rejected as the implementation raised a specific error:
2021-11-30T22:57:43.0896524Z          TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.0897735Z        Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.0898942Z        No implementation of function Function(<function linspace at 0x7fe8e58a3b00>) found for signature:
2021-11-30T22:57:43.0900283Z         
2021-11-30T22:57:43.0901087Z         >>> linspace(int64, int64, Literal[int](50))
2021-11-30T22:57:43.0902009Z         
2021-11-30T22:57:43.0902822Z        There are 4 candidate implementations:
2021-11-30T22:57:43.0904057Z              - Of which 4 did not match due to:
2021-11-30T22:57:43.0905704Z              Overload in function '_OverloadWrapper._build.<locals>.ol_generated': File: numba/core/overload_glue.py: Line 131.
2021-11-30T22:57:43.0907629Z                With argument(s): '(int64, int64, int64)':
2021-11-30T22:57:43.0909057Z               Rejected as the implementation raised a specific error:
2021-11-30T22:57:43.0910296Z                 TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.0911575Z               Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.0913059Z               No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.0914534Z               
2021-11-30T22:57:43.0915416Z               File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0916419Z                   def linspace(start, stop, num):
2021-11-30T22:57:43.0917458Z                       <source elided>
2021-11-30T22:57:43.0918346Z                       if num == 0:
2021-11-30T22:57:43.0919294Z                           return arr
2021-11-30T22:57:43.0920205Z                           ^
2021-11-30T22:57:43.0921046Z               
2021-11-30T22:57:43.0922173Z               During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.0923625Z               
2021-11-30T22:57:43.0924431Z               File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0925505Z                   def linspace(start, stop, num):
2021-11-30T22:57:43.0926485Z                       <source elided>
2021-11-30T22:57:43.0927435Z                       if num == 0:
2021-11-30T22:57:43.0928614Z                           return arr
2021-11-30T22:57:43.0929472Z                           ^
2021-11-30T22:57:43.0930299Z               
2021-11-30T22:57:43.0931452Z               During: lowering "$10call_function.4 = call $2load_global.0(tmp0, tmp1, tmp2, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3), Var(tmp2, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.0933560Z                   Traceback (most recent call last):
2021-11-30T22:57:43.0934720Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 155, in propagate
2021-11-30T22:57:43.0936080Z                       constraint(typeinfer)
2021-11-30T22:57:43.0937105Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 199, in __call__
2021-11-30T22:57:43.0938299Z                       typeinfer.copy_type(self.src, self.dst, loc=self.loc)
2021-11-30T22:57:43.0939440Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1107, in copy_type
2021-11-30T22:57:43.0940693Z                       self.typevars[dest_var].union(self.typevars[src_var], loc=loc)
2021-11-30T22:57:43.0941900Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 107, in union
2021-11-30T22:57:43.0943070Z                       self.add_type(other.type, loc=loc)
2021-11-30T22:57:43.0944117Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 64, in add_type
2021-11-30T22:57:43.0945248Z                       loc=loc)
2021-11-30T22:57:43.0946623Z                   numba.core.errors.TypingError: No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.0948550Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.0949646Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.0950702Z                           <source elided>
2021-11-30T22:57:43.0951605Z                           if num == 0:
2021-11-30T22:57:43.0952614Z                               return arr
2021-11-30T22:57:43.0953493Z                               ^
2021-11-30T22:57:43.0957842Z                   During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.0959520Z                   The above exception was the direct cause of the following exception:
2021-11-30T22:57:43.0960865Z                   Traceback (most recent call last):
2021-11-30T22:57:43.0962040Z                     File "/home/vsts/work/1/s/numba/core/types/functions.py", line 308, in get_call_type
2021-11-30T22:57:43.0963382Z                       sig = temp.apply(nolitargs, nolitkws)
2021-11-30T22:57:43.0964506Z                     File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 351, in apply
2021-11-30T22:57:43.0965666Z                       sig = generic(args, kws)
2021-11-30T22:57:43.0966712Z                     File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 614, in generic
2021-11-30T22:57:43.0967970Z                       disp, new_args = self._get_impl(args, kws)
2021-11-30T22:57:43.0969047Z                     File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 713, in _get_impl
2021-11-30T22:57:43.0970318Z                       impl, args = self._build_impl(cache_key, args, kws)
2021-11-30T22:57:43.0971452Z                     File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 824, in _build_impl
2021-11-30T22:57:43.0972720Z                       disp_type.get_call_type(self.context, args, kws)
2021-11-30T22:57:43.0973869Z                     File "/home/vsts/work/1/s/numba/core/types/functions.py", line 541, in get_call_type
2021-11-30T22:57:43.0975074Z                       self.dispatcher.get_call_template(args, kws)
2021-11-30T22:57:43.0976209Z                     File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 363, in get_call_template
2021-11-30T22:57:43.0977424Z                       self.compile(tuple(args))
2021-11-30T22:57:43.0978457Z                     File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 965, in compile
2021-11-30T22:57:43.0979918Z                       cres = self._compiler.compile(args, return_type)
2021-11-30T22:57:43.0981048Z                     File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 129, in compile
2021-11-30T22:57:43.0982185Z                       raise retval
2021-11-30T22:57:43.0983198Z                     File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 139, in _compile_cached
2021-11-30T22:57:43.0984398Z                       retval = self._compile_core(args, return_type)
2021-11-30T22:57:43.0985757Z                     File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 157, in _compile_core
2021-11-30T22:57:43.0986938Z                       pipeline_class=self.pipeline_class)
2021-11-30T22:57:43.0988063Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 690, in compile_extra
2021-11-30T22:57:43.0989233Z                       return pipeline.compile_extra(func)
2021-11-30T22:57:43.0990303Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.0991472Z                       return self._compile_bytecode()
2021-11-30T22:57:43.0992588Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.0993741Z                       return self._compile_core()
2021-11-30T22:57:43.0994783Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.0995913Z                       raise e
2021-11-30T22:57:43.0996927Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.0998064Z                       pm.run(self.state)
2021-11-30T22:57:43.0999095Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.1000249Z                       raise patched_exception
2021-11-30T22:57:43.1001230Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.1002439Z                       self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.1003579Z                     File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.1004823Z                       return func(*args, **kwargs)
2021-11-30T22:57:43.1005871Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.1007068Z                       mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.1008201Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.1009414Z                       mangled = func(compiler_state)
2021-11-30T22:57:43.1010480Z                     File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 396, in run_pass
2021-11-30T22:57:43.1011629Z                       lower.lower()
2021-11-30T22:57:43.1012582Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 183, in lower
2021-11-30T22:57:43.1013733Z                       self.lower_normal_function(self.fndesc)
2021-11-30T22:57:43.1014864Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 237, in lower_normal_function
2021-11-30T22:57:43.1016124Z                       entry_block_tail = self.lower_function_body()
2021-11-30T22:57:43.1017202Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 266, in lower_function_body
2021-11-30T22:57:43.1018431Z                       self.lower_block(block)
2021-11-30T22:57:43.1019442Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 280, in lower_block
2021-11-30T22:57:43.1020595Z                       self.lower_inst(inst)
2021-11-30T22:57:43.1021561Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 425, in lower_inst
2021-11-30T22:57:43.1022957Z                       val = self.lower_assign(ty, inst)
2021-11-30T22:57:43.1024055Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 611, in lower_assign
2021-11-30T22:57:43.1025225Z                       return self.lower_expr(ty, value)
2021-11-30T22:57:43.1026269Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 1146, in lower_expr
2021-11-30T22:57:43.1027435Z                       res = self.lower_call(resty, expr)
2021-11-30T22:57:43.1028542Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 876, in lower_call
2021-11-30T22:57:43.1029868Z                       res = self._lower_call_normal(fnty, expr, signature)
2021-11-30T22:57:43.1031080Z                     File "/home/vsts/work/1/s/numba/core/lowering.py", line 1117, in _lower_call_normal
2021-11-30T22:57:43.1032285Z                       res = impl(self.builder, argvals, self.loc)
2021-11-30T22:57:43.1033407Z                     File "/home/vsts/work/1/s/numba/core/base.py", line 1196, in __call__
2021-11-30T22:57:43.1034639Z                       res = self._imp(self._context, builder, self._sig, args, loc=loc)
2021-11-30T22:57:43.1035828Z                     File "/home/vsts/work/1/s/numba/core/base.py", line 1226, in wrapper
2021-11-30T22:57:43.1036976Z                       return fn(*args, **kwargs)
2021-11-30T22:57:43.1037966Z                     File "/home/vsts/work/1/s/numba/np/arrayobj.py", line 4191, in numpy_linspace_3
2021-11-30T22:57:43.1039238Z                       res = context.compile_internal(builder, linspace, sig, args)
2021-11-30T22:57:43.1040451Z                     File "/home/vsts/work/1/s/numba/core/base.py", line 892, in compile_internal
2021-11-30T22:57:43.1041727Z                       cres = self.compile_subroutine(builder, impl, sig, locals)
2021-11-30T22:57:43.1043021Z                     File "/home/vsts/work/1/s/numba/core/base.py", line 879, in compile_subroutine
2021-11-30T22:57:43.1044169Z                       flags=flags)
2021-11-30T22:57:43.1045207Z                     File "/home/vsts/work/1/s/numba/core/base.py", line 852, in _compile_subroutine_no_cache
2021-11-30T22:57:43.1046413Z                       locals=locals)
2021-11-30T22:57:43.1047382Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 764, in compile_internal
2021-11-30T22:57:43.1048559Z                       return pipeline.compile_extra(func)
2021-11-30T22:57:43.1049670Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.1050839Z                       return self._compile_bytecode()
2021-11-30T22:57:43.1051881Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.1053114Z                       return self._compile_core()
2021-11-30T22:57:43.1054160Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.1055294Z                       raise e
2021-11-30T22:57:43.1056231Z                     File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.1057377Z                       pm.run(self.state)
2021-11-30T22:57:43.1058431Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.1059589Z                       raise patched_exception
2021-11-30T22:57:43.1060622Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.1061778Z                       self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.1062890Z                     File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.1064128Z                       return func(*args, **kwargs)
2021-11-30T22:57:43.1065175Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.1066370Z                       mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.1067710Z                     File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.1068875Z                       mangled = func(compiler_state)
2021-11-30T22:57:43.1069921Z                     File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 112, in run_pass
2021-11-30T22:57:43.1071148Z                       raise_errors=self._raise_errors)
2021-11-30T22:57:43.1072192Z                     File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 83, in type_inference_stage
2021-11-30T22:57:43.1073614Z                       errs = infer.propagate(raise_errors=raise_errors)
2021-11-30T22:57:43.1074755Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1086, in propagate
2021-11-30T22:57:43.1075897Z                       raise errors[0]
2021-11-30T22:57:43.1076968Z                   numba.core.errors.TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.1078348Z                   Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.1080015Z                   No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.1081915Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.1083229Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.1084290Z                           <source elided>
2021-11-30T22:57:43.1085243Z                           if num == 0:
2021-11-30T22:57:43.1086201Z                               return arr
2021-11-30T22:57:43.1087081Z                               ^
2021-11-30T22:57:43.1088053Z                   During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.1089302Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.1090388Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.1091442Z                           <source elided>
2021-11-30T22:57:43.1092404Z                           if num == 0:
2021-11-30T22:57:43.1093351Z                               return arr
2021-11-30T22:57:43.1094283Z                               ^
2021-11-30T22:57:43.1095466Z                   During: lowering "$10call_function.4 = call $2load_global.0(tmp0, tmp1, tmp2, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3), Var(tmp2, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.1097629Z          raised from /home/vsts/work/1/s/numba/core/typeinfer.py:1086
2021-11-30T22:57:43.1098667Z        
2021-11-30T22:57:43.1099514Z        During: resolving callee type: Function(<function linspace at 0x7fe8e58a3b00>)
2021-11-30T22:57:43.1100794Z        During: typing of call at /home/vsts/work/1/s/numba/np/arrayobj.py (4157)
2021-11-30T22:57:43.1101882Z        
2021-11-30T22:57:43.1102557Z        
2021-11-30T22:57:43.1103398Z        File "numba/np/arrayobj.py", line 4157:
2021-11-30T22:57:43.1104382Z            def linspace(start, stop):
2021-11-30T22:57:43.1105358Z                return np.linspace(start, stop, 50)
2021-11-30T22:57:43.1106289Z                ^
2021-11-30T22:57:43.1107041Z        
2021-11-30T22:57:43.1108117Z        During: lowering "$8call_function.3 = call $2load_global.0(tmp0, tmp1, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.1110008Z            Traceback (most recent call last):
2021-11-30T22:57:43.1111109Z              File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 155, in propagate
2021-11-30T22:57:43.1112181Z                constraint(typeinfer)
2021-11-30T22:57:43.1113181Z              File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 578, in __call__
2021-11-30T22:57:43.1114321Z                self.resolve(typeinfer, typevars, fnty)
2021-11-30T22:57:43.1115352Z              File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 601, in resolve
2021-11-30T22:57:43.1116731Z                sig = typeinfer.resolve_call(fnty, pos_args, kw_args)
2021-11-30T22:57:43.1117915Z              File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1555, in resolve_call
2021-11-30T22:57:43.1119094Z                return self.context.resolve_function_type(fnty, pos_args, kw_args)
2021-11-30T22:57:43.1120261Z              File "/home/vsts/work/1/s/numba/core/typing/context.py", line 213, in resolve_function_type
2021-11-30T22:57:43.1121478Z                raise last_exception
2021-11-30T22:57:43.1122712Z              File "/home/vsts/work/1/s/numba/core/typing/context.py", line 196, in resolve_function_type
2021-11-30T22:57:43.1124133Z                res = self._resolve_user_function_type(func, args, kws)
2021-11-30T22:57:43.1125270Z              File "/home/vsts/work/1/s/numba/core/typing/context.py", line 248, in _resolve_user_function_type
2021-11-30T22:57:43.1126532Z                return func.get_call_type(self, args, kws)
2021-11-30T22:57:43.1127654Z              File "/home/vsts/work/1/s/numba/core/types/functions.py", line 331, in get_call_type
2021-11-30T22:57:43.1128803Z                failures.raise_error()
2021-11-30T22:57:43.1129806Z              File "/home/vsts/work/1/s/numba/core/types/functions.py", line 227, in raise_error
2021-11-30T22:57:43.1130980Z                raise errors.TypingError(self.format())
2021-11-30T22:57:43.1132180Z            numba.core.errors.TypingError: No implementation of function Function(<function linspace at 0x7fe8e58a3b00>) found for signature:
2021-11-30T22:57:43.1133731Z             
2021-11-30T22:57:43.1134550Z             >>> linspace(int64, int64, Literal[int](50))
2021-11-30T22:57:43.1135530Z             
2021-11-30T22:57:43.1136357Z            There are 4 candidate implementations:
2021-11-30T22:57:43.1137685Z                  - Of which 4 did not match due to:
2021-11-30T22:57:43.1139485Z                  Overload in function '_OverloadWrapper._build.<locals>.ol_generated': File: numba/core/overload_glue.py: Line 131.
2021-11-30T22:57:43.1141475Z                    With argument(s): '(int64, int64, int64)':
2021-11-30T22:57:43.1142885Z                   Rejected as the implementation raised a specific error:
2021-11-30T22:57:43.1144207Z                     TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.1145518Z                   Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.1147018Z                   No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.1148559Z                   
2021-11-30T22:57:43.1149464Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.1150499Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.1151548Z                           <source elided>
2021-11-30T22:57:43.1152499Z                           if num == 0:
2021-11-30T22:57:43.1153459Z                               return arr
2021-11-30T22:57:43.1154398Z                               ^
2021-11-30T22:57:43.1155244Z                   
2021-11-30T22:57:43.1156123Z                   During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.1157318Z                   
2021-11-30T22:57:43.1158217Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.1159330Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.1160361Z                           <source elided>
2021-11-30T22:57:43.1161263Z                           if num == 0:
2021-11-30T22:57:43.1162361Z                               return arr
2021-11-30T22:57:43.1163317Z                               ^
2021-11-30T22:57:43.1164144Z                   
2021-11-30T22:57:43.1165372Z                   During: lowering "$10call_function.4 = call $2load_global.0(tmp0, tmp1, tmp2, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3), Var(tmp2, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.1167749Z                       Traceback (most recent call last):
2021-11-30T22:57:43.1168961Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 155, in propagate
2021-11-30T22:57:43.1170126Z                           constraint(typeinfer)
2021-11-30T22:57:43.1171162Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 199, in __call__
2021-11-30T22:57:43.1172354Z                           typeinfer.copy_type(self.src, self.dst, loc=self.loc)
2021-11-30T22:57:43.1173567Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1107, in copy_type
2021-11-30T22:57:43.1175012Z                           self.typevars[dest_var].union(self.typevars[src_var], loc=loc)
2021-11-30T22:57:43.1176233Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 107, in union
2021-11-30T22:57:43.1177410Z                           self.add_type(other.type, loc=loc)
2021-11-30T22:57:43.1178520Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 64, in add_type
2021-11-30T22:57:43.1179667Z                           loc=loc)
2021-11-30T22:57:43.1181073Z                       numba.core.errors.TypingError: No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.1183008Z                       File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.1184136Z                           def linspace(start, stop, num):
2021-11-30T22:57:43.1185190Z                               <source elided>
2021-11-30T22:57:43.1186242Z                               if num == 0:
2021-11-30T22:57:43.1187213Z                                   return arr
2021-11-30T22:57:43.1188099Z                                   ^
2021-11-30T22:57:43.1189123Z                       During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.1190470Z                       The above exception was the direct cause of the following exception:
2021-11-30T22:57:43.1191770Z                       Traceback (most recent call last):
2021-11-30T22:57:43.1192925Z                         File "/home/vsts/work/1/s/numba/core/types/functions.py", line 308, in get_call_type
2021-11-30T22:57:43.1194194Z                           sig = temp.apply(nolitargs, nolitkws)
2021-11-30T22:57:43.1195310Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 351, in apply
2021-11-30T22:57:43.1196546Z                           sig = generic(args, kws)
2021-11-30T22:57:43.1197601Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 614, in generic
2021-11-30T22:57:43.1198800Z                           disp, new_args = self._get_impl(args, kws)
2021-11-30T22:57:43.1199942Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 713, in _get_impl
2021-11-30T22:57:43.1201203Z                           impl, args = self._build_impl(cache_key, args, kws)
2021-11-30T22:57:43.1202425Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 824, in _build_impl
2021-11-30T22:57:43.1203652Z                           disp_type.get_call_type(self.context, args, kws)
2021-11-30T22:57:43.1204870Z                         File "/home/vsts/work/1/s/numba/core/types/functions.py", line 541, in get_call_type
2021-11-30T22:57:43.1206148Z                           self.dispatcher.get_call_template(args, kws)
2021-11-30T22:57:43.1207283Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 363, in get_call_template
2021-11-30T22:57:43.1208499Z                           self.compile(tuple(args))
2021-11-30T22:57:43.1209549Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 965, in compile
2021-11-30T22:57:43.1210811Z                           cres = self._compiler.compile(args, return_type)
2021-11-30T22:57:43.1211928Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 129, in compile
2021-11-30T22:57:43.1213323Z                           raise retval
2021-11-30T22:57:43.1214363Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 139, in _compile_cached
2021-11-30T22:57:43.1215571Z                           retval = self._compile_core(args, return_type)
2021-11-30T22:57:43.1216773Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 157, in _compile_core
2021-11-30T22:57:43.1217941Z                           pipeline_class=self.pipeline_class)
2021-11-30T22:57:43.1219320Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 690, in compile_extra
2021-11-30T22:57:43.1220511Z                           return pipeline.compile_extra(func)
2021-11-30T22:57:43.1221636Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.1222813Z                           return self._compile_bytecode()
2021-11-30T22:57:43.1223924Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.1225108Z                           return self._compile_core()
2021-11-30T22:57:43.1226165Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.1227370Z                           raise e
2021-11-30T22:57:43.1228313Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.1229535Z                           pm.run(self.state)
2021-11-30T22:57:43.1230576Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.1231775Z                           raise patched_exception
2021-11-30T22:57:43.1232821Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.1233994Z                           self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.1235152Z                         File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.1236474Z                           return func(*args, **kwargs)
2021-11-30T22:57:43.1237540Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.1238748Z                           mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.1239937Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.1241121Z                           mangled = func(compiler_state)
2021-11-30T22:57:43.1242214Z                         File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 396, in run_pass
2021-11-30T22:57:43.1243383Z                           lower.lower()
2021-11-30T22:57:43.1244384Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 183, in lower
2021-11-30T22:57:43.1245567Z                           self.lower_normal_function(self.fndesc)
2021-11-30T22:57:43.1246716Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 237, in lower_normal_function
2021-11-30T22:57:43.1247991Z                           entry_block_tail = self.lower_function_body()
2021-11-30T22:57:43.1249137Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 266, in lower_function_body
2021-11-30T22:57:43.1250298Z                           self.lower_block(block)
2021-11-30T22:57:43.1251413Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 280, in lower_block
2021-11-30T22:57:43.1252582Z                           self.lower_inst(inst)
2021-11-30T22:57:43.1253631Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 425, in lower_inst
2021-11-30T22:57:43.1254811Z                           val = self.lower_assign(ty, inst)
2021-11-30T22:57:43.1255938Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 611, in lower_assign
2021-11-30T22:57:43.1257375Z                           return self.lower_expr(ty, value)
2021-11-30T22:57:43.1258490Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 1146, in lower_expr
2021-11-30T22:57:43.1259671Z                           res = self.lower_call(resty, expr)
2021-11-30T22:57:43.1260771Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 876, in lower_call
2021-11-30T22:57:43.1261977Z                           res = self._lower_call_normal(fnty, expr, signature)
2021-11-30T22:57:43.1263447Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 1117, in _lower_call_normal
2021-11-30T22:57:43.1264657Z                           res = impl(self.builder, argvals, self.loc)
2021-11-30T22:57:43.1265781Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 1196, in __call__
2021-11-30T22:57:43.1266982Z                           res = self._imp(self._context, builder, self._sig, args, loc=loc)
2021-11-30T22:57:43.1268260Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 1226, in wrapper
2021-11-30T22:57:43.1269424Z                           return fn(*args, **kwargs)
2021-11-30T22:57:43.1270474Z                         File "/home/vsts/work/1/s/numba/np/arrayobj.py", line 4191, in numpy_linspace_3
2021-11-30T22:57:43.1271694Z                           res = context.compile_internal(builder, linspace, sig, args)
2021-11-30T22:57:43.1272899Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 892, in compile_internal
2021-11-30T22:57:43.1274120Z                           cres = self.compile_subroutine(builder, impl, sig, locals)
2021-11-30T22:57:43.1275337Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 879, in compile_subroutine
2021-11-30T22:57:43.1276495Z                           flags=flags)
2021-11-30T22:57:43.1277543Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 852, in _compile_subroutine_no_cache
2021-11-30T22:57:43.1278758Z                           locals=locals)
2021-11-30T22:57:43.1279817Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 764, in compile_internal
2021-11-30T22:57:43.1281011Z                           return pipeline.compile_extra(func)
2021-11-30T22:57:43.1282100Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.1283358Z                           return self._compile_bytecode()
2021-11-30T22:57:43.1284412Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.1285652Z                           return self._compile_core()
2021-11-30T22:57:43.1286701Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.1287842Z                           raise e
2021-11-30T22:57:43.1288851Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.1290014Z                           pm.run(self.state)
2021-11-30T22:57:43.1291048Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.1292215Z                           raise patched_exception
2021-11-30T22:57:43.1293263Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.1294500Z                           self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.1295650Z                         File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.1296907Z                           return func(*args, **kwargs)
2021-11-30T22:57:43.1297969Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.1299404Z                           mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.1300530Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.1301777Z                           mangled = func(compiler_state)
2021-11-30T22:57:43.1302862Z                         File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 112, in run_pass
2021-11-30T22:57:43.1304107Z                           raise_errors=self._raise_errors)
2021-11-30T22:57:43.1305170Z                         File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 83, in type_inference_stage
2021-11-30T22:57:43.1306657Z                           errs = infer.propagate(raise_errors=raise_errors)
2021-11-30T22:57:43.1307803Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1086, in propagate
2021-11-30T22:57:43.1308957Z                           raise errors[0]
2021-11-30T22:57:43.1310046Z                       numba.core.errors.TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.1311445Z                       Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.1313160Z                       No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.1314919Z                       File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.1316043Z                           def linspace(start, stop, num):
2021-11-30T22:57:43.1317108Z                               <source elided>
2021-11-30T22:57:43.1318076Z                               if num == 0:
2021-11-30T22:57:43.1319113Z                                   return arr
2021-11-30T22:57:43.1320000Z                                   ^
2021-11-30T22:57:43.1321044Z                       During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.1322278Z                       File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.1323391Z                           def linspace(start, stop, num):
2021-11-30T22:57:43.1324465Z                               <source elided>
2021-11-30T22:57:43.1325445Z                               if num == 0:
2021-11-30T22:57:43.1326463Z                                   return arr
2021-11-30T22:57:43.1327359Z                                   ^
2021-11-30T22:57:43.1328702Z                       During: lowering "$10call_function.4 = call $2load_global.0(tmp0, tmp1, tmp2, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3), Var(tmp2, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.1330893Z              raised from /home/vsts/work/1/s/numba/core/typeinfer.py:1086
2021-11-30T22:57:43.1332064Z            During: resolving callee type: Function(<function linspace at 0x7fe8e58a3b00>)
2021-11-30T22:57:43.1333355Z            During: typing of call at /home/vsts/work/1/s/numba/np/arrayobj.py (4157)
2021-11-30T22:57:43.1334581Z            The above exception was the direct cause of the following exception:
2021-11-30T22:57:43.1335838Z            Traceback (most recent call last):
2021-11-30T22:57:43.1336892Z              File "/home/vsts/work/1/s/numba/core/types/functions.py", line 308, in get_call_type
2021-11-30T22:57:43.1338072Z                sig = temp.apply(nolitargs, nolitkws)
2021-11-30T22:57:43.1339172Z              File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 351, in apply
2021-11-30T22:57:43.1340297Z                sig = generic(args, kws)
2021-11-30T22:57:43.1341255Z              File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 614, in generic
2021-11-30T22:57:43.1342428Z                disp, new_args = self._get_impl(args, kws)
2021-11-30T22:57:43.1343538Z              File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 713, in _get_impl
2021-11-30T22:57:43.1344733Z                impl, args = self._build_impl(cache_key, args, kws)
2021-11-30T22:57:43.1346096Z              File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 824, in _build_impl
2021-11-30T22:57:43.1347287Z                disp_type.get_call_type(self.context, args, kws)
2021-11-30T22:57:43.1348408Z              File "/home/vsts/work/1/s/numba/core/types/functions.py", line 541, in get_call_type
2021-11-30T22:57:43.1349586Z                self.dispatcher.get_call_template(args, kws)
2021-11-30T22:57:43.1350684Z              File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 363, in get_call_template
2021-11-30T22:57:43.1351834Z                self.compile(tuple(args))
2021-11-30T22:57:43.1353019Z              File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 965, in compile
2021-11-30T22:57:43.1354198Z                cres = self._compiler.compile(args, return_type)
2021-11-30T22:57:43.1355242Z              File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 129, in compile
2021-11-30T22:57:43.1356343Z                raise retval
2021-11-30T22:57:43.1357291Z              File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 139, in _compile_cached
2021-11-30T22:57:43.1358474Z                retval = self._compile_core(args, return_type)
2021-11-30T22:57:43.1359589Z              File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 157, in _compile_core
2021-11-30T22:57:43.1360748Z                pipeline_class=self.pipeline_class)
2021-11-30T22:57:43.1361868Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 690, in compile_extra
2021-11-30T22:57:43.1363189Z                return pipeline.compile_extra(func)
2021-11-30T22:57:43.1364220Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.1365370Z                return self._compile_bytecode()
2021-11-30T22:57:43.1366383Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.1367535Z                return self._compile_core()
2021-11-30T22:57:43.1368497Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.1369619Z                raise e
2021-11-30T22:57:43.1370539Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.1371666Z                pm.run(self.state)
2021-11-30T22:57:43.1372677Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.1373752Z                raise patched_exception
2021-11-30T22:57:43.1374768Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.1375930Z                self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.1376983Z              File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.1378151Z                return func(*args, **kwargs)
2021-11-30T22:57:43.1379179Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.1380404Z                mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.1381453Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.1382602Z                mangled = func(compiler_state)
2021-11-30T22:57:43.1383623Z              File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 396, in run_pass
2021-11-30T22:57:43.1384745Z                lower.lower()
2021-11-30T22:57:43.1385657Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 183, in lower
2021-11-30T22:57:43.1386808Z                self.lower_normal_function(self.fndesc)
2021-11-30T22:57:43.1387861Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 237, in lower_normal_function
2021-11-30T22:57:43.1389045Z                entry_block_tail = self.lower_function_body()
2021-11-30T22:57:43.1390144Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 266, in lower_function_body
2021-11-30T22:57:43.1391535Z                self.lower_block(block)
2021-11-30T22:57:43.1392548Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 280, in lower_block
2021-11-30T22:57:43.1393631Z                self.lower_inst(inst)
2021-11-30T22:57:43.1394643Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 425, in lower_inst
2021-11-30T22:57:43.1395775Z                val = self.lower_assign(ty, inst)
2021-11-30T22:57:43.1396803Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 611, in lower_assign
2021-11-30T22:57:43.1397893Z                return self.lower_expr(ty, value)
2021-11-30T22:57:43.1399133Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 1146, in lower_expr
2021-11-30T22:57:43.1400237Z                res = self.lower_call(resty, expr)
2021-11-30T22:57:43.1401327Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 876, in lower_call
2021-11-30T22:57:43.1402613Z                res = self._lower_call_normal(fnty, expr, signature)
2021-11-30T22:57:43.1403749Z              File "/home/vsts/work/1/s/numba/core/lowering.py", line 1117, in _lower_call_normal
2021-11-30T22:57:43.1404923Z                res = impl(self.builder, argvals, self.loc)
2021-11-30T22:57:43.1405939Z              File "/home/vsts/work/1/s/numba/core/base.py", line 1196, in __call__
2021-11-30T22:57:43.1407124Z                res = self._imp(self._context, builder, self._sig, args, loc=loc)
2021-11-30T22:57:43.1408248Z              File "/home/vsts/work/1/s/numba/core/base.py", line 1226, in wrapper
2021-11-30T22:57:43.1409378Z                return fn(*args, **kwargs)
2021-11-30T22:57:43.1410393Z              File "/home/vsts/work/1/s/numba/np/arrayobj.py", line 4159, in numpy_linspace_2
2021-11-30T22:57:43.1411597Z                res = context.compile_internal(builder, linspace, sig, args)
2021-11-30T22:57:43.1412726Z              File "/home/vsts/work/1/s/numba/core/base.py", line 892, in compile_internal
2021-11-30T22:57:43.1413915Z                cres = self.compile_subroutine(builder, impl, sig, locals)
2021-11-30T22:57:43.1415050Z              File "/home/vsts/work/1/s/numba/core/base.py", line 879, in compile_subroutine
2021-11-30T22:57:43.1416158Z                flags=flags)
2021-11-30T22:57:43.1417112Z              File "/home/vsts/work/1/s/numba/core/base.py", line 852, in _compile_subroutine_no_cache
2021-11-30T22:57:43.1418260Z                locals=locals)
2021-11-30T22:57:43.1419268Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 764, in compile_internal
2021-11-30T22:57:43.1420413Z                return pipeline.compile_extra(func)
2021-11-30T22:57:43.1421446Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.1422594Z                return self._compile_bytecode()
2021-11-30T22:57:43.1423650Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.1424805Z                return self._compile_core()
2021-11-30T22:57:43.1425809Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.1426925Z                raise e
2021-11-30T22:57:43.1427800Z              File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.1428932Z                pm.run(self.state)
2021-11-30T22:57:43.1429921Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.1431062Z                raise patched_exception
2021-11-30T22:57:43.1432015Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.1433178Z                self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.1434226Z              File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.1435437Z                return func(*args, **kwargs)
2021-11-30T22:57:43.1436407Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.1437820Z                mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.1438934Z              File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.1440065Z                mangled = func(compiler_state)
2021-11-30T22:57:43.1441101Z              File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 112, in run_pass
2021-11-30T22:57:43.1442239Z                raise_errors=self._raise_errors)
2021-11-30T22:57:43.1443293Z              File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 83, in type_inference_stage
2021-11-30T22:57:43.1444701Z                errs = infer.propagate(raise_errors=raise_errors)
2021-11-30T22:57:43.1445792Z              File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1086, in propagate
2021-11-30T22:57:43.1446948Z                raise errors[0]
2021-11-30T22:57:43.1447937Z            numba.core.errors.TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.1449252Z            Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.1450509Z            No implementation of function Function(<function linspace at 0x7fe8e58a3b00>) found for signature:
2021-11-30T22:57:43.1451875Z             
2021-11-30T22:57:43.1452686Z             >>> linspace(int64, int64, Literal[int](50))
2021-11-30T22:57:43.1453620Z             
2021-11-30T22:57:43.1454483Z            There are 4 candidate implementations:
2021-11-30T22:57:43.1455888Z                  - Of which 4 did not match due to:
2021-11-30T22:57:43.1457808Z                  Overload in function '_OverloadWrapper._build.<locals>.ol_generated': File: numba/core/overload_glue.py: Line 131.
2021-11-30T22:57:43.1459822Z                    With argument(s): '(int64, int64, int64)':
2021-11-30T22:57:43.1461238Z                   Rejected as the implementation raised a specific error:
2021-11-30T22:57:43.1462521Z                     TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.1463902Z                   Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.1465422Z                   No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.1466964Z                   
2021-11-30T22:57:43.1467861Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.1468935Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.1469986Z                           <source elided>
2021-11-30T22:57:43.1470892Z                           if num == 0:
2021-11-30T22:57:43.1471853Z                               return arr
2021-11-30T22:57:43.1472775Z                               ^
2021-11-30T22:57:43.1473617Z                   
2021-11-30T22:57:43.1474524Z                   During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.1475725Z                   
2021-11-30T22:57:43.1476603Z                   File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.1477686Z                       def linspace(start, stop, num):
2021-11-30T22:57:43.1478679Z                           <source elided>
2021-11-30T22:57:43.1479643Z                           if num == 0:
2021-11-30T22:57:43.1480582Z                               return arr
2021-11-30T22:57:43.1481514Z                               ^
2021-11-30T22:57:43.1482750Z                   
2021-11-30T22:57:43.1483981Z                   During: lowering "$10call_function.4 = call $2load_global.0(tmp0, tmp1, tmp2, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3), Var(tmp2, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.1486096Z                       Traceback (most recent call last):
2021-11-30T22:57:43.1487296Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 155, in propagate
2021-11-30T22:57:43.1488439Z                           constraint(typeinfer)
2021-11-30T22:57:43.1489734Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 199, in __call__
2021-11-30T22:57:43.1490936Z                           typeinfer.copy_type(self.src, self.dst, loc=self.loc)
2021-11-30T22:57:43.1492145Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1107, in copy_type
2021-11-30T22:57:43.1493364Z                           self.typevars[dest_var].union(self.typevars[src_var], loc=loc)
2021-11-30T22:57:43.1494560Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 107, in union
2021-11-30T22:57:43.1495946Z                           self.add_type(other.type, loc=loc)
2021-11-30T22:57:43.1497015Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 64, in add_type
2021-11-30T22:57:43.1498151Z                           loc=loc)
2021-11-30T22:57:43.1499611Z                       numba.core.errors.TypingError: No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.1501545Z                       File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.1502651Z                           def linspace(start, stop, num):
2021-11-30T22:57:43.1503717Z                               <source elided>
2021-11-30T22:57:43.1504695Z                               if num == 0:
2021-11-30T22:57:43.1505654Z                                   return arr
2021-11-30T22:57:43.1506597Z                                   ^
2021-11-30T22:57:43.1507577Z                       During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.1508923Z                       The above exception was the direct cause of the following exception:
2021-11-30T22:57:43.1510188Z                       Traceback (most recent call last):
2021-11-30T22:57:43.1511402Z                         File "/home/vsts/work/1/s/numba/core/types/functions.py", line 308, in get_call_type
2021-11-30T22:57:43.1512605Z                           sig = temp.apply(nolitargs, nolitkws)
2021-11-30T22:57:43.1513735Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 351, in apply
2021-11-30T22:57:43.1514909Z                           sig = generic(args, kws)
2021-11-30T22:57:43.1515945Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 614, in generic
2021-11-30T22:57:43.1517199Z                           disp, new_args = self._get_impl(args, kws)
2021-11-30T22:57:43.1518342Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 713, in _get_impl
2021-11-30T22:57:43.1519563Z                           impl, args = self._build_impl(cache_key, args, kws)
2021-11-30T22:57:43.1520786Z                         File "/home/vsts/work/1/s/numba/core/typing/templates.py", line 824, in _build_impl
2021-11-30T22:57:43.1522102Z                           disp_type.get_call_type(self.context, args, kws)
2021-11-30T22:57:43.1523218Z                         File "/home/vsts/work/1/s/numba/core/types/functions.py", line 541, in get_call_type
2021-11-30T22:57:43.1524519Z                           self.dispatcher.get_call_template(args, kws)
2021-11-30T22:57:43.1525673Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 363, in get_call_template
2021-11-30T22:57:43.1526920Z                           self.compile(tuple(args))
2021-11-30T22:57:43.1527944Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 965, in compile
2021-11-30T22:57:43.1529142Z                           cres = self._compiler.compile(args, return_type)
2021-11-30T22:57:43.1530283Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 129, in compile
2021-11-30T22:57:43.1531488Z                           raise retval
2021-11-30T22:57:43.1532448Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 139, in _compile_cached
2021-11-30T22:57:43.1533952Z                           retval = self._compile_core(args, return_type)
2021-11-30T22:57:43.1535096Z                         File "/home/vsts/work/1/s/numba/core/dispatcher.py", line 157, in _compile_core
2021-11-30T22:57:43.1536318Z                           pipeline_class=self.pipeline_class)
2021-11-30T22:57:43.1537381Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 690, in compile_extra
2021-11-30T22:57:43.1538608Z                           return pipeline.compile_extra(func)
2021-11-30T22:57:43.1539697Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.1541089Z                           return self._compile_bytecode()
2021-11-30T22:57:43.1542155Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.1543394Z                           return self._compile_core()
2021-11-30T22:57:43.1544430Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.1545639Z                           raise e
2021-11-30T22:57:43.1546608Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.1547791Z                           pm.run(self.state)
2021-11-30T22:57:43.1548810Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.1549979Z                           raise patched_exception
2021-11-30T22:57:43.1551024Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.1552272Z                           self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.1553360Z                         File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.1554595Z                           return func(*args, **kwargs)
2021-11-30T22:57:43.1555718Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.1556925Z                           mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.1558076Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.1559318Z                           mangled = func(compiler_state)
2021-11-30T22:57:43.1560357Z                         File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 396, in run_pass
2021-11-30T22:57:43.1561570Z                           lower.lower()
2021-11-30T22:57:43.1562745Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 183, in lower
2021-11-30T22:57:43.1563992Z                           self.lower_normal_function(self.fndesc)
2021-11-30T22:57:43.1565114Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 237, in lower_normal_function
2021-11-30T22:57:43.1566321Z                           entry_block_tail = self.lower_function_body()
2021-11-30T22:57:43.1567477Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 266, in lower_function_body
2021-11-30T22:57:43.1568712Z                           self.lower_block(block)
2021-11-30T22:57:43.1569751Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 280, in lower_block
2021-11-30T22:57:43.1570921Z                           self.lower_inst(inst)
2021-11-30T22:57:43.1571958Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 425, in lower_inst
2021-11-30T22:57:43.1573193Z                           val = self.lower_assign(ty, inst)
2021-11-30T22:57:43.1574248Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 611, in lower_assign
2021-11-30T22:57:43.1575428Z                           return self.lower_expr(ty, value)
2021-11-30T22:57:43.1576525Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 1146, in lower_expr
2021-11-30T22:57:43.1577945Z                           res = self.lower_call(resty, expr)
2021-11-30T22:57:43.1579065Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 876, in lower_call
2021-11-30T22:57:43.1580268Z                           res = self._lower_call_normal(fnty, expr, signature)
2021-11-30T22:57:43.1581423Z                         File "/home/vsts/work/1/s/numba/core/lowering.py", line 1117, in _lower_call_normal
2021-11-30T22:57:43.1582672Z                           res = impl(self.builder, argvals, self.loc)
2021-11-30T22:57:43.1584042Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 1196, in __call__
2021-11-30T22:57:43.1585258Z                           res = self._imp(self._context, builder, self._sig, args, loc=loc)
2021-11-30T22:57:43.1586479Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 1226, in wrapper
2021-11-30T22:57:43.1587640Z                           return fn(*args, **kwargs)
2021-11-30T22:57:43.1588681Z                         File "/home/vsts/work/1/s/numba/np/arrayobj.py", line 4191, in numpy_linspace_3
2021-11-30T22:57:43.1589965Z                           res = context.compile_internal(builder, linspace, sig, args)
2021-11-30T22:57:43.1591186Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 892, in compile_internal
2021-11-30T22:57:43.1592400Z                           cres = self.compile_subroutine(builder, impl, sig, locals)
2021-11-30T22:57:43.1593598Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 879, in compile_subroutine
2021-11-30T22:57:43.1594775Z                           flags=flags)
2021-11-30T22:57:43.1595825Z                         File "/home/vsts/work/1/s/numba/core/base.py", line 852, in _compile_subroutine_no_cache
2021-11-30T22:57:43.1597065Z                           locals=locals)
2021-11-30T22:57:43.1598045Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 764, in compile_internal
2021-11-30T22:57:43.1599287Z                           return pipeline.compile_extra(func)
2021-11-30T22:57:43.1600416Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 428, in compile_extra
2021-11-30T22:57:43.1601595Z                           return self._compile_bytecode()
2021-11-30T22:57:43.1602889Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 496, in _compile_bytecode
2021-11-30T22:57:43.1604124Z                           return self._compile_core()
2021-11-30T22:57:43.1605155Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 475, in _compile_core
2021-11-30T22:57:43.1606300Z                           raise e
2021-11-30T22:57:43.1607258Z                         File "/home/vsts/work/1/s/numba/core/compiler.py", line 462, in _compile_core
2021-11-30T22:57:43.1608478Z                           pm.run(self.state)
2021-11-30T22:57:43.1609503Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 346, in run
2021-11-30T22:57:43.1610678Z                           raise patched_exception
2021-11-30T22:57:43.1611718Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 334, in run
2021-11-30T22:57:43.1612905Z                           self._runPass(idx, pass_inst, state)
2021-11-30T22:57:43.1614047Z                         File "/home/vsts/work/1/s/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
2021-11-30T22:57:43.1615278Z                           return func(*args, **kwargs)
2021-11-30T22:57:43.1616340Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 289, in _runPass
2021-11-30T22:57:43.1617610Z                           mutated |= check(pss.run_pass, internal_state)
2021-11-30T22:57:43.1618772Z                         File "/home/vsts/work/1/s/numba/core/compiler_machinery.py", line 262, in check
2021-11-30T22:57:43.1619957Z                           mangled = func(compiler_state)
2021-11-30T22:57:43.1621288Z                         File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 112, in run_pass
2021-11-30T22:57:43.1622467Z                           raise_errors=self._raise_errors)
2021-11-30T22:57:43.1623544Z                         File "/home/vsts/work/1/s/numba/core/typed_passes.py", line 83, in type_inference_stage
2021-11-30T22:57:43.1624819Z                           errs = infer.propagate(raise_errors=raise_errors)
2021-11-30T22:57:43.1626023Z                         File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 1086, in propagate
2021-11-30T22:57:43.1627314Z                           raise errors[0]
2021-11-30T22:57:43.1628404Z                       numba.core.errors.TypingError: Failed in nopython mode pipeline (step: native lowering)
2021-11-30T22:57:43.1629812Z                       Failed in nopython mode pipeline (step: nopython frontend)
2021-11-30T22:57:43.1631576Z                       No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
2021-11-30T22:57:43.1633389Z                       File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.1634476Z                           def linspace(start, stop, num):
2021-11-30T22:57:43.1635545Z                               <source elided>
2021-11-30T22:57:43.1636525Z                               if num == 0:
2021-11-30T22:57:43.1637493Z                                   return arr
2021-11-30T22:57:43.1638421Z                                   ^
2021-11-30T22:57:43.1639396Z                       During: typing of assignment at /home/vsts/work/1/s/numba/np/arrayobj.py (4178)
2021-11-30T22:57:43.1640678Z                       File "numba/np/arrayobj.py", line 4178:
2021-11-30T22:57:43.1641944Z                           def linspace(start, stop, num):
2021-11-30T22:57:43.1643206Z                               <source elided>
2021-11-30T22:57:43.1644183Z                               if num == 0:
2021-11-30T22:57:43.1645154Z                                   return arr
2021-11-30T22:57:43.1646100Z                                   ^
2021-11-30T22:57:43.1647342Z                       During: lowering "$10call_function.4 = call $2load_global.0(tmp0, tmp1, tmp2, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3), Var(tmp2, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.1649521Z              raised from /home/vsts/work/1/s/numba/core/typeinfer.py:1086
2021-11-30T22:57:43.1650754Z            During: resolving callee type: Function(<function linspace at 0x7fe8e58a3b00>)
2021-11-30T22:57:43.1651991Z            During: typing of call at /home/vsts/work/1/s/numba/np/arrayobj.py (4157)
2021-11-30T22:57:43.1653161Z            File "numba/np/arrayobj.py", line 4157:
2021-11-30T22:57:43.1654212Z                def linspace(start, stop):
2021-11-30T22:57:43.1655182Z                    return np.linspace(start, stop, 50)
2021-11-30T22:57:43.1656131Z                    ^
2021-11-30T22:57:43.1657299Z            During: lowering "$8call_function.3 = call $2load_global.0(tmp0, tmp1, func=$2load_global.0, args=[Var(tmp0, <string>:3), Var(tmp1, <string>:3)], kws=(), vararg=None, target=None)" at <string> (3)
2021-11-30T22:57:43.1659202Z   raised from /home/vsts/work/1/s/numba/core/typeinfer.py:1086
2021-11-30T22:57:43.1660001Z 
2021-11-30T22:57:43.1660785Z During: resolving callee type: Function(<function linspace at 0x7fe8e58a3b00>)
2021-11-30T22:57:43.1661928Z During: typing of call at /home/vsts/work/1/s/numba/tests/test_dyn_array.py (1241)
2021-11-30T22:57:43.1662845Z 
2021-11-30T22:57:43.1663393Z 
2021-11-30T22:57:43.1663995Z File "numba/tests/test_dyn_array.py", line 1241:
2021-11-30T22:57:43.1665019Z         def pyfunc(n, m):
2021-11-30T22:57:43.1665890Z             return np.linspace(n, m)
2021-11-30T22:57:43.1666731Z             ^
2021-11-30T22:57:43.1667414Z 
2021-11-30T22:57:43.1667819Z 
2021-11-30T22:57:43.1668784Z ----------------------------------------------------------------------
2021-11-30T22:57:43.1670404Z Ran 563 tests in 193.340s
2021-11-30T22:57:43.1671084Z 
2021-11-30T22:57:43.1671761Z FAILED (errors=1, skipped=62, expected failures=1)
```
</details>



Discussion:
When the failing build job was resubmitted, it passed. Bug appears to be non-deterministic.
This bit of the backtrace is potentially interesting:
```
2021-11-30T22:57:43.0151804Z                     File "/home/vsts/work/1/s/numba/core/typeinfer.py", line 64, in add_type
2021-11-30T22:57:43.0152402Z                       loc=loc)
2021-11-30T22:57:43.0160044Z                   numba.core.errors.TypingError: No conversion from array(float64, 1d, C) to array(float64, 1d, C) for '$40return_value.1', defined at None
```
related code:
https://github.com/numba/numba/blob/8be3456a271de3e1edb9e996a722376bc249b3ae/numba/core/typeinfer.py#L57-L64
I think this implies that the incoming type (`tp`) and the type of the `TypeVar` instance (`self.type`) are not equal, but the error message string suggests they are "the same":
i.e.
```
TypingError(msg % (self.type, tp, ... )
```
renders as:
```
No conversion from array(float64, 1d, C) to array(float64, 1d, C)
```

Resolving patch:
diff --git a/numba/core/typeinfer.py b/numba/core/typeinfer.py
--- a/numba/core/typeinfer.py
+++ b/numba/core/typeinfer.py
@@ -1618,12 +1618,15 @@ def typeof_global(self, inst, target, gvar):
             # typed as readonly, mutating an array in a global container
             # is not supported (should be compile time constant etc).
             def mark_array_ro(tup):
+                newtup = []
                 for item in tup.types:
                     if isinstance(item, types.Array):
-                        item.mutable = False
+                        item = item.copy(readonly=True)
                     elif isinstance(item, types.BaseAnonymousTuple):
-                        mark_array_ro(item)
-            mark_array_ro(typ)
+                        item = mark_array_ro(item)
+                    newtup.append(item)
+                return types.BaseTuple.from_types(newtup)
+            typ = mark_array_ro(typ)
 
         self.sentry_modified_builtin(inst, gvar)
         # Setting literal_value for globals because they are handled


Test patch: