From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBF4133A6E6 for ; Fri, 21 Nov 2025 09:06:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763715981; cv=none; b=Rmb9AHUdy1vLAyJO4InZ/v0PDUEfElVx5zNKlC+dOOR3IE/9hMHux/dFGaGWoxZNtG3FzFKjwIL9ULlj/E0yTnM+PKw/x9115FIiN4HHPXuztbltQRJuzAU46zSxkOr2UMT5qUbraLEzI9VqvR1tq74B1+k5l6PcNUXxJv32Asg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763715981; c=relaxed/simple; bh=zOKtgqF4HJ8j8T0d2/Slahffx8Cb+tioUsRQW7/Z8ac=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Zu0nxnUb8dFbPH3ZyWSsXTVvLW6o0HIVutO7RiWQ0EvHOjvd+s6mc3cVD8HDR+qKW3mDsy0giRb38wff1SKWXzHua8A82WGcL9Q4uDpYPdS0+A7WXEIR3mv9Vc0lMzJf5f4ZlgYCMQTRzyDaSLUztG7Nu411OmmKvTgxkZ1N0cY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=MBFBGKAw; arc=none smtp.client-ip=209.85.128.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="MBFBGKAw" Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-477b8a667bcso22050375e9.2 for ; Fri, 21 Nov 2025 01:06:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1763715978; x=1764320778; darn=lists.linux.dev; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=WeU48TgMuKpFqa0P1KRY9QRCZS9h5NtO6feKcbkigT4=; b=MBFBGKAwUqVsbVLtvMaPXOnfqCb3v8Z2RJPprtUUt8SgxfUI/54fHR4vC+L5MAAgAB thyePECBtnsvkFbaLz0RlCUFosM6d8g6c+kECOlnZORh+E/wdySmpSZ9dkmlR+9DrkvB B1V7BNu/eS6pMC2hGh4ob6Nq2ywd02UXfnRVnvJ3aIXbXo6xwFoHAdnfyINA2Obz9AFc 0fujdO89DrQ0Xb6ptKWwRm32qkyWGPFLsG6lffO8p57lsODK9Ej63ONgIZffrUc4ZJn+ 5kZVNOJgExI3p0IAVMUcEko6i92gdrpcBTb7I7WKYP6r5zXNxjAVYFH4bW4Mify2RMQb w9Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763715978; x=1764320778; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WeU48TgMuKpFqa0P1KRY9QRCZS9h5NtO6feKcbkigT4=; b=Azo7IKWMbagl0NvVam4sqljbxjHMveWWY/YvR0E3EY1nruFxujJhsppCSp5Wg+AfqH ruWX80Wsqo5VqirnAl677AGQDnkdwU6OG2lgozdw+rZ82s19KPrB+/TOC654B/bbYObK nqoC5iSUrONTUh3Ba4Hiajpo7N+LlB7EvjJTWbE+9qnahA3/p+XUsYZEZIstPCvP6LtY 9OEKaLjIezOjDde8x/IvPS40b1mBF2qOAdihMLB8nW8rHImo2/zad4N/gCiTuwmBCc7A NcDaslxeEE9JYYrN12gjQMf3cl7iMAi/yX0Qd6JXmTKyIKhMBe5dzzh9iOeeS7zaS8ht Pvbw== X-Forwarded-Encrypted: i=1; AJvYcCWuoSDq3v7swsfomdXmKMn6JHuAIt4ZF63Ggv/8EXmPaO2jiSoMJbX/0KA/M/JXruriAIma@lists.linux.dev X-Gm-Message-State: AOJu0YxcItv5+7URN2g0kPV4/vnqon2b0D811M6O9qT6YDp8PW7/7MJU 2s9gTwNloEG9CaHZY1HvGoZjNbWf/CJADnnkRHm6hIkMy2JpfrvmC2OBMRLCr0gPtQ+O6gPeNRA +ZiyNZp0l08WgSI5Gzg== X-Google-Smtp-Source: AGHT+IFi7Ro1buxMIwDHBU/1xLrbCnmwLUuJ2VcQkx7Dd6IbA9c6A9kXuy8l8eT1op8NAQZWhgpRwC85Zxzg+Ts= X-Received: from wmfv21.prod.google.com ([2002:a05:600c:15d5:b0:477:9fba:50e4]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:8b16:b0:477:fad:acd9 with SMTP id 5b1f17b1804b1-477c0203605mr15423305e9.34.1763715978389; Fri, 21 Nov 2025 01:06:18 -0800 (PST) Date: Fri, 21 Nov 2025 09:06:17 +0000 In-Reply-To: <202511210649.lhQnt194-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <202511210649.lhQnt194-lkp@intel.com> Message-ID: Subject: Re: [linux-next:master 2964/10599] error[E0609]: no field `dev` on type `drm_gem_object` From: Alice Ryhl To: kernel test robot Cc: Lyude Paul , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev Content-Type: text/plain; charset="utf-8" On Fri, Nov 21, 2025 at 06:47:35AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 88cbd8ac379cf5ce68b7efcfd4d1484a6871ee0b > commit: d3917368ebc5cd89d7d08eab4673e5c4c73ff42f [2964/10599] rust: drm/gem: Remove Object.dev > config: um-randconfig-001-20251121 (https://download.01.org/0day-ci/archive/20251121/202511210649.lhQnt194-lkp@intel.com/config) > compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9e9fe08b16ea2c4d9867fb4974edf2a3776d6ece) > rustc: rustc 1.88.0 (6b00bc388 2025-06-23) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251121/202511210649.lhQnt194-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202511210649.lhQnt194-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > >> error[E0609]: no field `dev` on type `drm_gem_object` > --> rust/kernel/drm/gem/mod.rs:231:57 > | > 231 | unsafe { drm::Device::from_raw((*self.as_raw()).dev) } > | ^^^ unknown field > | > = note: available field is: `_address` I tried reproducing this on commit d3917368ebc5, but I got this error instead: error[E0432]: unresolved imports `core::sync::atomic::AtomicI64`, `core::sync::atomic::AtomicU64` --> /rust/kernel/debugfs/traits.rs:12:27 | 12 | AtomicI16, AtomicI32, AtomicI64, AtomicI8, AtomicIsize, AtomicU16, AtomicU32, AtomicU64, | ^^^^^^^^^ no `AtomicI64` in `sync::atomic` ^^^^^^^^^ no `AtomicU64` in `sync::atomic` | help: a similar name exists in the module | 12 | AtomicI16, AtomicI32, AtomicI32, AtomicI8, AtomicIsize, AtomicU16, AtomicU32, AtomicU64, | ~~~~~~~~~ help: a similar name exists in the module | 12 | AtomicI16, AtomicI32, AtomicI64, AtomicI8, AtomicIsize, AtomicU16, AtomicU32, AtomicU32, | ~~~~~~~~~ error[E0560]: struct `bindings::drm_gem_object_funcs` has no field named `vmap` --> /rust/kernel/drm/gem/mod.rs:188:9 | 188 | vmap: None, | ^^^^ `bindings::drm_gem_object_funcs` does not have this field | = note: available fields are: `kernel_vmap` error: aborting due to 2 previous errors This was with ARCH=um SUBARCH=i386 in my make invocation and the provided config. Perhaps this config is just not working in general? Alice