[INFO] fetching crate nar 0.0.8... [INFO] checking nar-0.0.8 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate nar 0.0.8 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate nar 0.0.8 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nar 0.0.8 [INFO] finished tweaking crates.io crate nar 0.0.8 [INFO] tweaked toml for crates.io crate nar 0.0.8 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate nar 0.0.8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31d358538133a869712510aba8af87580ec5bf09b0f67043db8e2d0286a07f13 [INFO] running `Command { std: "docker" "start" "-a" "31d358538133a869712510aba8af87580ec5bf09b0f67043db8e2d0286a07f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31d358538133a869712510aba8af87580ec5bf09b0f67043db8e2d0286a07f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31d358538133a869712510aba8af87580ec5bf09b0f67043db8e2d0286a07f13", kill_on_drop: false }` [INFO] [stdout] 31d358538133a869712510aba8af87580ec5bf09b0f67043db8e2d0286a07f13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbd2153ccee20d0a7ff4df7484e340e547f99ec744739ab40385e5ea3115954a [INFO] running `Command { std: "docker" "start" "-a" "fbd2153ccee20d0a7ff4df7484e340e547f99ec744739ab40385e5ea3115954a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rustyline v6.0.0 [INFO] [stderr] Compiling syn-mid v0.4.0 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling rustversion v1.0.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking voile-util v0.2.2 [INFO] [stderr] Compiling proc-macro-error v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.3 [INFO] [stderr] Compiling structopt-derive v0.4.0 [INFO] [stderr] Checking structopt v0.3.7 [INFO] [stderr] Checking minitt-util v0.2.3 [INFO] [stderr] Checking nar v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `decl_impl::*` and `pretty::*` [INFO] [stdout] --> src/syntax/core/mod.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::{ast::*, ast_fold::*, ast_util::*, decl::*, decl_impl::*, pretty::*}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decl_impl::*` and `pretty::*` [INFO] [stdout] --> src/syntax/abs/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::{ast::*, decl::*, decl_impl::*, pretty::*}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_eta_var` and `type_of_decl` [INFO] [stdout] --> src/check/rules/term/mod.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | infer::{infer, type_of_decl}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | view::{expect_data, is_eta_var, is_eta_var_ref}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decl_impl::*` and `pretty::*` [INFO] [stdout] --> src/syntax/core/mod.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::{ast::*, ast_fold::*, ast_util::*, decl::*, decl_impl::*, pretty::*}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decl_impl::*` and `pretty::*` [INFO] [stdout] --> src/syntax/abs/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::{ast::*, decl::*, decl_impl::*, pretty::*}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_eta_var` and `type_of_decl` [INFO] [stdout] --> src/check/rules/term/mod.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | infer::{infer, type_of_decl}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | view::{expect_data, is_eta_var, is_eta_var_ref}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `syntax::core::ast::Term` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syntax/core/subst/apply.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn apply_elim(self, mut args: Vec) -> Self { [INFO] [stdout] | ---- -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | e => panic!("Cannot eliminate `{}`.", e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `syntax::core::ast::Term` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syntax/core/subst/apply.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn apply_elim(self, mut args: Vec) -> Self { [INFO] [stdout] | ---- -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | e => panic!("Cannot eliminate `{}`.", e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta1` [INFO] [stdout] --> src/check/rules/clause/split.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | let (mut delta1, dom, delta2) = split_tele(lhs.tele, ix); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta2` [INFO] [stdout] --> src/check/rules/clause/split.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let (mut delta1, dom, delta2) = split_tele(lhs.tele, ix); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/check/rules/clause/split.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | let (data, tcs) = expect_data(tcs, dom.ty)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cons_params` [INFO] [stdout] --> src/check/rules/clause/split.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let cons_params = match tcs.def(head.cons_ix) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cons_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_forced` [INFO] [stdout] --> src/check/rules/clause/split.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | is_forced: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_forced` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pats` [INFO] [stdout] --> src/check/rules/clause/split.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pats: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/check/rules/clause/split.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | let (mut delta1, dom, delta2) = split_tele(lhs.tele, ix); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta1` [INFO] [stdout] --> src/check/rules/clause/split.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | let (mut delta1, dom, delta2) = split_tele(lhs.tele, ix); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta2` [INFO] [stdout] --> src/check/rules/clause/split.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let (mut delta1, dom, delta2) = split_tele(lhs.tele, ix); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/check/rules/clause/split.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | let (data, tcs) = expect_data(tcs, dom.ty)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cons_params` [INFO] [stdout] --> src/check/rules/clause/split.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let cons_params = match tcs.def(head.cons_ix) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cons_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_forced` [INFO] [stdout] --> src/check/rules/clause/split.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | is_forced: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_forced` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pats` [INFO] [stdout] --> src/check/rules/clause/split.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pats: Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/check/rules/clause/split.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | let (mut delta1, dom, delta2) = split_tele(lhs.tele, ix); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(syntax::core::ast::Val, syntax::core::ast::Val)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/check/rules/term/view.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 36 | let (ty, tcs) = simplify(tcs, ty)?; [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | match (term, ty) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/check/rules/term/whnf.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn simplify(tcs: TCS, term: Term) -> ValTCM { [INFO] [stdout] | --- ---- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | Term::Redex(def, id, elims) => match tcs.def(def) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(syntax::core::ast::Val, syntax::core::ast::Val)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/check/rules/term/view.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 36 | let (ty, tcs) = simplify(tcs, ty)?; [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | match (term, ty) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/check/rules/term/whnf.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn simplify(tcs: TCS, term: Term) -> ValTCM { [INFO] [stdout] | --- ---- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | Term::Redex(def, id, elims) => match tcs.def(def) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcs` [INFO] [stdout] --> src/check/pats/mat.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | fn match_pat(tcs: &TCS, p: CorePat, t: Term) -> (Match, Term) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pat_sub` is never read [INFO] [stdout] --> src/check/rules/clause/lhs.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub(super) struct Lhs { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub(super) pat_sub: Rc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lhs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_implicit_pats` is never used [INFO] [stdout] --> src/check/rules/clause/state.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | pub(super) fn insert_implicit_pats(pats: Vec, tele: &TeleS) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/syntax/core/subst/prim.rs:130:53 [INFO] [stdout] | [INFO] [stdout] 130 | (n, Lift(DBI(0), _rho)) => unreachable!(&format!("n = {:?}", n)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 130 | (n, Lift(DBI(0), _rho)) => unreachable!("{}", &format!("n = {:?}", n)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcs` [INFO] [stdout] --> src/check/pats/mat.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | fn match_pat(tcs: &TCS, p: CorePat, t: Term) -> (Match, Term) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/check/rules/decls.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | _ => unreachable!(ERROR_MSG), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 36 | _ => unreachable!("{}", ERROR_MSG), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/check/rules/decls.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | AbsDecl::Cons(_) => unreachable!(ERROR_MSG), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 42 | AbsDecl::Cons(_) => unreachable!("{}", ERROR_MSG), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pat_sub` is never read [INFO] [stdout] --> src/check/rules/clause/lhs.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub(super) struct Lhs { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub(super) pat_sub: Rc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lhs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_implicit_pats` is never used [INFO] [stdout] --> src/check/rules/clause/state.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | pub(super) fn insert_implicit_pats(pats: Vec, tele: &TeleS) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/syntax/core/subst/prim.rs:130:53 [INFO] [stdout] | [INFO] [stdout] 130 | (n, Lift(DBI(0), _rho)) => unreachable!(&format!("n = {:?}", n)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 130 | (n, Lift(DBI(0), _rho)) => unreachable!("{}", &format!("n = {:?}", n)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/check/rules/decls.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | _ => unreachable!(ERROR_MSG), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 36 | _ => unreachable!("{}", ERROR_MSG), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/check/rules/decls.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | AbsDecl::Cons(_) => unreachable!(ERROR_MSG), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 42 | AbsDecl::Cons(_) => unreachable!("{}", ERROR_MSG), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nar` (lib) due to 4 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nar` (lib test) due to 4 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fbd2153ccee20d0a7ff4df7484e340e547f99ec744739ab40385e5ea3115954a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbd2153ccee20d0a7ff4df7484e340e547f99ec744739ab40385e5ea3115954a", kill_on_drop: false }` [INFO] [stdout] fbd2153ccee20d0a7ff4df7484e340e547f99ec744739ab40385e5ea3115954a