fn find_pkgid_in_ws( nearest_package: Option<&Package>, ws: Option<&Workspace<'_>>, spec: &PackageIdSpec, ) -> (Option<PackageId>, bool)