From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46]) (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 2F96520FAA4 for ; Wed, 22 Oct 2025 02:19:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761099542; cv=none; b=EeuWmzsK4RWBt4p6PIGcjgSvPRz5USThXzotuA2TdUykzoIh7iGl6Asubu76wDDbILMUiFNRgU+jrujwc2ClqEcJQVJ1neA9XW+hzPORilMfwX06P7wfI0vajQlTP7oybU8KcrGn/v0SYRxSUZP+QwCsb2K8IY6RVqW1B8cI9lo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761099542; c=relaxed/simple; bh=BWGUKDVRP/T6icTkv4fm1loBRi7OcK6/7pesRsu8/AE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OlOMT6TmNXBCLhs2um6As3aQkrFVeHxGfOPDKnUhpWg2llSVxRCEEnj1RBt+WowGmN13Uzp4zsOaCKW+i04YDLIQFi2Tj1FePSJLLVYhdHYZmms7I06Z9NNQB1xykxb7uxGflfAsa2C0fk1iA2fIJY6/3W0H1ugkqjZ40vb0dzY= 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=PwDZScFN; arc=none smtp.client-ip=209.85.219.46 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="PwDZScFN" Received: by mail-qv1-f46.google.com with SMTP id 6a1803df08f44-7960d69f14bso54934286d6.2 for ; Tue, 21 Oct 2025 19:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761099540; x=1761704340; 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=Unvmh2ruzLsZCnmE4tSnjjhwCv09SGt96yN+BEwTbEQ=; b=PwDZScFNJSsGEOaj1xIRuK4RT1g9MtQgbeSzbkj0NNZ1tTXxJmjbnn0zezdMpmhgoH R4VwSFa5XJAK4Mb3bG+nEL4C3tAOucCgYE7ciRofpjnUQeN9QuJkABUL4R7TTvPszR6R 3jPDqO6TjRavB8IsxGtdKZNccAK8jcfNWb3EHftki8rKcZ2cRb8STlPuyRMH6sYDy9oG nv0T7r5L934UsPGRUzpq7IhY8HIg9bkeT0cHnjbZMuGAaJK/oBbCUaj7teR/i90ktEZ5 +9x3L+f527Y8rffx0QtraSyx9+MjcMydNsk+01YPFPoxtbZhwr3jqaE4HVHeqIpPjrtS 2DjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761099540; x=1761704340; 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=Unvmh2ruzLsZCnmE4tSnjjhwCv09SGt96yN+BEwTbEQ=; b=w2Khl+IbF6kyz7BoaIooO9b3HHw0sbbTtmfG/4JH/0w0o2hutlg44YJo4FTfAcPZES 12JaTlo9aBaQLkYGDLy+i1usF3+ulDWcYJXeXviS+Op3JVMvdI5EiLw9m38nMeliW1Vl FvFYHn8vvWikCgz0oxRDxUEzcA3Fa0W9n14fHCECO0ihiWJ6yBvBHlEyQ+UlAnMt/dF5 Hj39nSMcn3kzo2Jcquss+4bNzPy0AxJFvWcvZpjaPdvToqesblE1FFHNcbV69NnLNsY5 0WiqouM5o7x9mJodWu1I7xQ0rmobCvSb2EnSpVd4BOXXUX5S8iE3VrDvKsS0GBpvuyao zgCw== X-Forwarded-Encrypted: i=1; AJvYcCWDwf2biGaJnO54xEg5XGqU1D4fUbme3NjPIQT7NLL53LtxgdHg62ReRQXY9l/jEiK3DytmA6kF8RBE@vger.kernel.org X-Gm-Message-State: AOJu0YyF48Vn16FY0NJ6heAX77/FL4xY7iCV9IUYRVJOSXvTJA1Vjt8O +oKjtjoraq/H5q82f9uu4/jhCzm8+fnMUo6NABYCTT/911D/56oYP/IL X-Gm-Gg: ASbGncuTSRT40jeufIXaDKKSIr9NGNlO4OX2TExERFTyxbI3RJukJuFFiwn1t+7wsEM q+mwcMFMeMLf8DZFJp3cRFfVzc3UAhapFoRR+d18KzQkfXujh/+czIwFdgqW6MIk+4tizvEKNDV 58iZOtn6ZXT78Fz0QEXaFZ8QpFs1EIxrx9kZ8x3kJYIFVNvOUHzXe9sr9jCsxmdF2NjT02qBojN hm6GyuBbwKgEfzrFhT57mmEbWlr7MRz5VsklU/SHVXMfd6sV3CE+KYUxyIOgBhbJ257axIObyx7 ePtf8inbcULXsAcyTyCkpasYnMiQj4EacKK3HCPlBglbxJYb6Jgj54n88b0atjKileTSmJACPXs NrGVkGI2JtVZBQZznSK4tginHkNIEOjgO4jfSSY9fQJYoYMlonTFjNlM9k7zaVr8wk1q0OQnuaM nFj3OQuxUtqN/5bHJtMK4GmkGT7C4iTiviZT36EyOGGYP2rIRVLRZ6FY+C0wxnvZZ2dug70U7D6 EIbSw1iyGlBLBE= X-Google-Smtp-Source: AGHT+IEvJfWi+IobdsNPqzDQQa/e2phAlQYHRxKgL1tMIjSc01h/eT5CzWCXeeI5/w7EGpZjqLxkcQ== X-Received: by 2002:a05:6214:20e5:b0:773:b324:c5b2 with SMTP id 6a1803df08f44-87c2061dd4emr275271236d6.38.1761099539924; Tue, 21 Oct 2025 19:18:59 -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 6a1803df08f44-87d028afad8sm79485486d6.45.2025.10.21.19.18.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Oct 2025 19:18:59 -0700 (PDT) Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfauth.phl.internal (Postfix) with ESMTP id 28828F40068; Tue, 21 Oct 2025 22:18:59 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Tue, 21 Oct 2025 22:18:59 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddugedvfeeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepuehoqhhunhcu hfgvnhhguceosghoqhhunhdrfhgvnhhgsehgmhgrihhlrdgtohhmqeenucggtffrrghtth gvrhhnpeehudfgudffffetuedtvdehueevledvhfelleeivedtgeeuhfegueevieduffei vdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsoh hquhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdeiledvgeehtdeigedq udejjeekheehhedvqdgsohhquhhnrdhfvghngheppehgmhgrihhlrdgtohhmsehfihigmh gvrdhnrghmvgdpnhgspghrtghpthhtohepledpmhhouggvpehsmhhtphhouhhtpdhrtghp thhtohepshhfrhestggrnhgsrdgruhhughdrohhrghdrrghupdhrtghpthhtohepthhglh igsehlihhnuhhtrhhonhhigidruggvpdhrtghpthhtohepmhhinhhgoheskhgvrhhnvghl rdhorhhgpdhrtghpthhtohephhhprgesiiihthhorhdrtghomhdprhgtphhtthhopehpvg htvghriiesihhnfhhrrgguvggrugdrohhrghdprhgtphhtthhopegurghnihgvlhdrrghl mhgvihgurgestgholhhlrggsohhrrgdrtghomhdprhgtphhtthhopehlihhnuhigqdhkvg hrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhn vgigthesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopegsohhquhhnsehfih igmhgvrdhnrghmvg X-ME-Proxy: Feedback-ID: iad51458e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Oct 2025 22:18:58 -0400 (EDT) Date: Tue, 21 Oct 2025 22:18:58 -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 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: <20251022114644.4437c2d9@canb.auug.org.au> 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, > 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