From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (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 1740A15CD7E for ; Wed, 22 Oct 2025 02:51:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761101479; cv=none; b=Nwkw/VUvUx/lWYVTme1dgUVuPqda9vS2mfx1XrGv/Qm014pvjJz7wCbeidTKbA2ehyZWvySVwYZ7Ktq6PsTKKqwGMBd3iouVxAKiDKy3S/c/aCK/Skfvjay69z89kEx1cZC7ZsloXKcm+pCzpRF5qZ34eTzwLkayNHQNvgj+XS4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761101479; c=relaxed/simple; bh=DN2zzjuR1XBFiecBiRFeq+IT9NsiVCtgBLl23iLlhjI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IFyYfhT/46qC8duAKwL7mPoIeSWmuYFb3bN0KUxNkig3zkrJHCSmawcjBqeiC5PCpecoiaNEx3kYbXUOvqrNHhQzCfGQa91UH3JSadlhEgDTq7VYZvKU471Pp3JaYV5ehIaDzk7GVkQlxRQl+SWF67yklTa0MXneEFWU64x5l5Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=iUjimvD7; arc=none smtp.client-ip=209.85.160.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iUjimvD7" Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-4e89de04d62so5569471cf.0 for ; Tue, 21 Oct 2025 19:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761101477; x=1761706277; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:feedback-id:from:to:cc:subject:date :message-id:reply-to; bh=NyhW697pM1Zdwkt3dzJURt6zsYm6OZUy7a/3856PR+s=; b=iUjimvD7u6MSMKejIaVDE/L0eo+gPeNWv3PPnY1iqpi+p37zO2oaIdybs/pQkVm5Wr A9GZc+BKC3XOcNTknH+6B35fEDjiCSdYzl20aORAYQH2LHbg3qPLfnzkXH1Sa/nkq0jf QiNHLOdU/hx8+o872gwQq38WA0IA9HaZaupslEAnbPR6qxfoBfYa+VinwiJM1PUdWo1x aUcfyssYMdns2xZbH53sgrI1ICZxtJ3J64JM3Yzn8DxYEOhjvsz8iT9MorGacJS0PdTU NfimfTkJkUBo5ORm9vSg4j5TzLsOXWVGBKJhO8e2sYGDOJwM6KvyekkyijzfuBt3Lid7 FYag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761101477; x=1761706277; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:feedback-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NyhW697pM1Zdwkt3dzJURt6zsYm6OZUy7a/3856PR+s=; b=Ayx6uIR/xa9XAasBqYQfMSFIQWw82JHx+tRnEachGqyiVmx5xMgJHd2+9j/4GIcaI8 W9QOo3gu6pv5bVOF4FtTtLb7zLpEft4hFVIahuTySOs1BpQ8QlZmM1zZhdo4oolixN4z fFiwJkUCEgFGqMrkTOPwmsRXsjXML4WXJ7bkTCSQ2baScqTxn8ukDY3eRREyZNDmkUPA 8buypgZIjTXVignQ87h4vQTenGPuJ42LQtMdd+zDvCR2WZ/wVPBgdEq5ic1u+X1BH74S RyYqGa+Q9uxOTpp8oI+yBnccsJoRK1Mgp/QngFe2deFgaNlVdIdmJB4EPuNB3P1OGTUJ KzgQ== X-Forwarded-Encrypted: i=1; AJvYcCU/TrLzubIXsT9WnyUxgrCHDRSeIB+J4TS5idjkWCkGv1CDcCZndmTFUBWRX3bo3TLXdVQHrHjm6Emo@vger.kernel.org X-Gm-Message-State: AOJu0YxG5XV6QTb3WV81MFNzKJ4f/91Va419xkKKr/1C7a+2mGLZoUDr LwfGNnZfR+rKdu20Slicht+QoVYLWBSV0oPypzpR659ijTi1YzhUsOWh X-Gm-Gg: ASbGncsdxHmxDfemGX45dQidY+y99nCA2Y3B8tCz33VN3HQZKCDzvHxw6Itd84fHDXy 7cn0upKTljaFgkU1AeXf6lZTV/Yl/zItVTxz7KMdXf1Q77dUfizSmy7ABy8pkYB6Hq1bltEbESl lGdhrS1htXggei/8i8KxuYyxbDqGmhpACJrPeuNAfFLLHortG1fNRo/LCII9eK1wpkblKKs0Iql VPlM8QP45LlnjgqI3Y5IJFYLTg37KxImUHnzGWHoyjJP3DL83Cm0dctmpK7W6lP9snHFV2MiV8S PJocwHhMMH4LDLOi9UN9fjCaYHcJLIJBsCIP5hTbbIDxxM9lzTY1lXsoy3TqGPEWkvVoc/OnkSV EXy102qikr7uNQIRhFs5wT9k7KMvUMyy47YoBxGpukKSaoP5VTL2twkUuDvCrMp9bfjVykSkd8O Qr03nD6lMFQxL8d+SZ9tk5f5Vg60feHp/StewmWOxSwVKBW7Cp7kAx6tm3xSTS1jTtFVr+FpcaI m61 X-Google-Smtp-Source: AGHT+IH76FHEmO22At9FXgcUJuu8my/jDBE2unDwsrmXoj8Aexa9wRTIw+yZ5wFWZlv6yISqjZiYrQ== X-Received: by 2002:a05:622a:7505:b0:4e8:9d50:f751 with SMTP id d75a77b69052e-4e89d50f8b6mr172479011cf.60.1761101476654; Tue, 21 Oct 2025 19:51:16 -0700 (PDT) Received: from fauth-a1-smtp.messagingengine.com (fauth-a1-smtp.messagingengine.com. [103.168.172.200]) by smtp.gmail.com with ESMTPSA id af79cd13be357-891cc8d611esm882004585a.11.2025.10.21.19.51.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Oct 2025 19:51:16 -0700 (PDT) Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfauth.phl.internal (Postfix) with ESMTP id CE113F40066; Tue, 21 Oct 2025 22:51:15 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Tue, 21 Oct 2025 22:51:15 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddugedvgedvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepuehoqhhunhcu hfgvnhhguceosghoqhhunhdrfhgvnhhgsehgmhgrihhlrdgtohhmqeenucggtffrrghtth gvrhhnpeehudfgudffffetuedtvdehueevledvhfelleeivedtgeeuhfegueevieduffei vdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsoh hquhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdeiledvgeehtdeigedq udejjeekheehhedvqdgsohhquhhnrdhfvghngheppehgmhgrihhlrdgtohhmsehfihigmh gvrdhnrghmvgdpnhgspghrtghpthhtohepuddupdhmohguvgepshhmthhpohhuthdprhgt phhtthhopehsfhhrsegtrghnsgdrrghuuhhgrdhorhhgrdgruhdprhgtphhtthhopehtgh hlgieslhhinhhuthhrohhnihigrdguvgdprhgtphhtthhopehmihhnghhosehkvghrnhgv lhdrohhrghdprhgtphhtthhopehhphgrseiihihtohhrrdgtohhmpdhrtghpthhtohepph gvthgvrhiisehinhhfrhgruggvrggurdhorhhgpdhrtghpthhtohepuggrnhhivghlrdgr lhhmvghiuggrsegtohhllhgrsghorhgrrdgtohhmpdhrtghpthhtoheplhhinhhugidqkh gvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidq nhgvgihtsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepmhhmrghurhgvrh esghhoohhglhgvrdgtohhm X-ME-Proxy: Feedback-ID: iad51458e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Oct 2025 22:51:15 -0400 (EDT) Date: Tue, 21 Oct 2025 22:51:15 -0400 From: Boqun Feng To: Stephen Rothwell Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Daniel Almeida , Linux Kernel Mailing List , Linux Next Mailing List , Matthew Maurer , Danilo Krummrich Subject: Re: linux-next: build failure after merge of the tip tree Message-ID: References: <20251022114644.4437c2d9@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-next@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Oct 21, 2025 at 10:18:58PM -0400, Boqun Feng wrote: > On Wed, Oct 22, 2025 at 11:46:44AM +1100, Stephen Rothwell wrote: > > Hi all, > > > > Hi Stephen, > > Thanks for reporting this. > > Cc Mathhew and Danilo, > (now really Cc them...) Regards, Boqun > > After merging the tip tree, today's linux-next build (x86_64 allmodconfig) > > failed like this: > > > > error[E0594]: cannot assign to data in dereference of `lock::Guard<'_, T, MutexBackend>` > > --> rust/kernel/debugfs/traits.rs:64:9 > > | > > 64 | *self.lock() = val; > > | ^^^^^^^^^^^^ cannot assign > > | > > = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `lock::Guard<'_, T, MutexBackend>` > > > > Could we make the `impl Reader` for `Mutex` to bound where `T: > Unpin`? Since `Mutex` is structurally pinning `T`, you cannot use > `*self.lock()` to overwrite `T` directly. And that'll fix this. > > Thanks! > > Regards, > Boqun > > > error: aborting due to 1 previous error > > > > For more information about this error, try `rustc --explain E0594`. > > > > Caused by commit > > > > da123f0ee40f ("rust: lock: guard: Add T: Unpin bound to DerefMut") > > > > I have used the tip tree from next-20251021 for today. > > > > -- > > Cheers, > > Stephen Rothwell > >