Temporal Custom Authz build error -

Getting this below error while trying to build temporal custom authorizer , by following the steps mentioned here - samples-server/extensibility/authorizer at main · temporalio/samples-server · GitHub

$ go build authorizer/server/main.go

/u/mukeshpa/go/pkg/mod/go.temporal.io/server@v1.23.0/client/frontend/client.go:46:47: cannot use (*clientImpl)(nil) (value of type *clientImpl) as workflowservice.WorkflowServiceClient value in variable declaration: *clientImpl does not implement workflowservice.WorkflowServiceClient (missing method GetWorkerVersion
ingRules)
/u/mukeshpa/go/pkg/mod/go.temporal.io/server@v1.23.0/client/frontend/client.go:60:9: cannot use &clientImpl{…} (value of type *clientImpl) as workflowservice.WorkflowServiceClient value in return statement: *clientImpl does not implement workflowservice.WorkflowServiceClient (missing method GetWorkerVersioningRules)
/u/mukeshpa/go/pkg/mod/go.temporal.io/server@v1.23.0/client/frontend/metric_client.go:40:47: cannot use (*metricClient)(nil) (value of type *metricClient) as workflowservice.WorkflowServiceClient value in variable declaration: *metricClient does not implement workflowservice.WorkflowServiceClient (missing method Get
WorkerVersioningRules)
/u/mukeshpa/go/pkg/mod/go.temporal.io/server@v1.23.0/client/frontend/metric_client.go:54:9: cannot use &metricClient{…} (value of type *metricClient) as workflowservice.WorkflowServiceClient value in return statement: *metricClient does not implement workflowservice.WorkflowServiceClient (missing method GetWorkerVer
sioningRules)
/u/mukeshpa/go/pkg/mod/go.temporal.io/server@v1.23.0/client/frontend/retryable_client.go:33:47: cannot use (*retryableClient)(nil) (value of type *retryableClient) as workflowservice.WorkflowServiceClient value in variable declaration: *retryableClient does not implement workflowservice.WorkflowServiceClient (missin
g method GetWorkerVersioningRules)
/u/mukeshpa/go/pkg/mod/go.temporal.io/server@v1.23.0/client/frontend/retryable_client.go:43:9: cannot use &retryableClient{…} (value of type *retryableClient) as workflowservice.WorkflowServiceClient value in return statement: *retryableClient does not implement workflowservice.WorkflowServiceClient (missing method 
GetWorkerVersioningRules)

I am using the below go version -
$ go version
go version go1.22.3 linux/amd64

Can someone please correct if I am missing something here / this is actual issue.

@Kishan_Patel Is this error resolved? I am getting the same error.