From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 28 19:51:14 2023 Received: (at submit) by debbugs.gnu.org; 28 Apr 2023 23:51:14 +0000 Received: from localhost ([127.0.0.1]:34715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psXru-0006Dn-1t for submit@debbugs.gnu.org; Fri, 28 Apr 2023 19:51:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:43498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psXrp-0006DG-RC for submit@debbugs.gnu.org; Fri, 28 Apr 2023 19:51:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psXrp-0005NS-FG for bug-guix@gnu.org; Fri, 28 Apr 2023 19:51:09 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1psXrm-00036G-Om for bug-guix@gnu.org; Fri, 28 Apr 2023 19:51:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=heC8yyIdjpNYAJd 0FXm/EA0cDiPgGZY1EO0mMjxrhY8=; h=cc:to:subject:date:from; d=lease-up.com; b=pohnCFdwchDtAcdTNBNHEb54s/96LgC1RSyv5nTqVKkwVGt11Lg3 z7gvPwZDynfKxQcTbgOLb41w+g+GnKh1pwdT/3O8jpz8ZGctu1NL4vsp+Op6jvUvlOpAET uz4tn4ARmrxnA3kHoTXaYJqF7RRrdQ17fQUU7GGAiwyVCn+gw= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 1be4467b (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Fri, 28 Apr 2023 23:51:00 +0000 (UTC) Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2a8bbea12d7so2945681fa.3 for ; Fri, 28 Apr 2023 16:51:00 -0700 (PDT) X-Gm-Message-State: AC+VfDxPvLY2eImtpY05dyGX5qxIIjb539gMml1XjhAImpuBYX/l4zig 24RyrVIyq3Jahzi/QuJ2ZWsLapMdjYFYFxexa+4= X-Google-Smtp-Source: ACHHUZ487iQ1b1DqiecM1RMXCotG9wVt2cFbr6nOHGC2mWt9G4q4W42MhNka4O2UHgJFiQai1V5tOGfbSI11qQJwOVk= X-Received: by 2002:a2e:9b86:0:b0:2a8:c45b:b39b with SMTP id z6-20020a2e9b86000000b002a8c45bb39bmr1857189lji.41.1682725858380; Fri, 28 Apr 2023 16:50:58 -0700 (PDT) MIME-Version: 1.0 From: Felix Lechner Date: Fri, 28 Apr 2023 16:50:22 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Warnings hidden in log for derivation To: bug-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Bruno Victal X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) X-Debbugs-CC: mirai@makinata.eu Hi, I recently started seeing deprecation warnings about how serializers in a "define-configuration" stanza were positioned relative to a docstring. Unfortunately, the warnings disappeared from view (during both "pull" and "deploy") when I moved the cachefilesd service to a custom channel. [1] The warnings were then in a derivation log, but I would not have seen them without an unrelated error. The full log is below. I believe warnings in such a derivation should be brought to a user's attention with the same prominence as when they arise as part of a system configuration. Thanks! Kind regards Felix [1] https://codeberg.org/lechner/juix * * * (repl-version 0 1 1) guix repl: warning: specifying serializers after documentation is deprecated, use (serializer (make-option-serializer (quote dir))) instead guix repl: warning: specifying serializers after documentation is deprecated, use (serializer (make-option-serializer (quote tag))) instead guix repl: warning: specifying serializers after documentation is deprecated, use (serializer (make-option-serializer (quote secctx))) instead guix repl: warning: specifying serializers after documentation is deprecated, use (serializer (make-percentage-threshold-serializer (quote brun))) instead guix repl: warning: specifying serializers after documentation is deprecated, use (serializer (make-percentage-threshold-serializer (quote frun))) instead guix repl: warning: specifying serializers after documentation is deprecated, use (serializer (make-percentage-threshold-serializer (quote bcull))) instead guix repl: warning: specifying serializers after documentation is deprecated, use (serializer (make-percentage-threshold-serializer (quote fcull))) instead guix repl: warning: specifying serializers after documentation is deprecated, use (serializer (make-percentage-threshold-serializer (quote bstop))) instead guix repl: warning: specifying serializers after documentation is deprecated, use (serializer (make-percentage-threshold-serializer (quote fstop))) instead guix repl: warning: specifying serializers after documentation is deprecated, use (serializer (make-option-serializer (quote culltable))) instead guix repl: warning: specifying serializers after documentation is deprecated, use (serializer (lambda (variable-symbol value) (if value nocull ))) instead (exception unbound-variable (value #f) (value "Unbound variable: ~S") (value (package)) (value #f))