[INFO] fetching crate nar 0.0.8... [INFO] testing nar-0.0.8 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate nar 0.0.8 into /workspace/builds/worker-39/source [INFO] validating manifest of crates.io crate nar 0.0.8 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-39/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2cb8c78762b3dffc044b6e0f682cdff5a15e0e0cb8bace7564dea3256fb22ca [INFO] running `Command { std: "docker" "start" "-a" "b2cb8c78762b3dffc044b6e0f682cdff5a15e0e0cb8bace7564dea3256fb22ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2cb8c78762b3dffc044b6e0f682cdff5a15e0e0cb8bace7564dea3256fb22ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2cb8c78762b3dffc044b6e0f682cdff5a15e0e0cb8bace7564dea3256fb22ca", kill_on_drop: false }` [INFO] [stdout] b2cb8c78762b3dffc044b6e0f682cdff5a15e0e0cb8bace7564dea3256fb22ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 110af3e9083a60ff5f2bc1fa780242a8127290cbe78fa483bb8d270e6ac264dd [INFO] running `Command { std: "docker" "start" "-a" "110af3e9083a60ff5f2bc1fa780242a8127290cbe78fa483bb8d270e6ac264dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling 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] Compiling 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] Compiling structopt v0.3.7 [INFO] [stderr] Compiling minitt-util v0.2.3 [INFO] [stderr] Compiling nar v0.0.8 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` 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] [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: field is never read: `pat_sub` [INFO] [stdout] --> src/check/rules/clause/lhs.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) pat_sub: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Lhs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/check/rules/clause/lhs.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_implicit_pats` [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: `#[warn(non_fmt_panics)]` on by default [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] 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] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.65s [INFO] running `Command { std: "docker" "inspect" "110af3e9083a60ff5f2bc1fa780242a8127290cbe78fa483bb8d270e6ac264dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110af3e9083a60ff5f2bc1fa780242a8127290cbe78fa483bb8d270e6ac264dd", kill_on_drop: false }` [INFO] [stdout] 110af3e9083a60ff5f2bc1fa780242a8127290cbe78fa483bb8d270e6ac264dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bfb6a9eb866b9cd9f52411da79144933023eae9bb32ca227915abecf2490669 [INFO] running `Command { std: "docker" "start" "-a" "9bfb6a9eb866b9cd9f52411da79144933023eae9bb32ca227915abecf2490669", kill_on_drop: false }` [INFO] [stderr] Compiling nar v0.0.8 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` 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] [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: field is never read: `pat_sub` [INFO] [stdout] --> src/check/rules/clause/lhs.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) pat_sub: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Lhs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/check/rules/clause/lhs.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_implicit_pats` [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: `#[warn(non_fmt_panics)]` on by default [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] 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] warning: 13 warnings emitted [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] = note: `#[warn(unused_variables)]` 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] [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: field is never read: `pat_sub` [INFO] [stdout] --> src/check/rules/clause/lhs.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub(super) pat_sub: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Lhs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/check/rules/clause/lhs.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_implicit_pats` [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: `#[warn(non_fmt_panics)]` on by default [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] 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] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.53s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/nar-e1c838ef4fdf24b3) [INFO] [stderr] Executable unittests src/cli/mod.rs (/opt/rustwide/target/debug/deps/narc-9b19335d1eed2699) [INFO] running `Command { std: "docker" "inspect" "9bfb6a9eb866b9cd9f52411da79144933023eae9bb32ca227915abecf2490669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfb6a9eb866b9cd9f52411da79144933023eae9bb32ca227915abecf2490669", kill_on_drop: false }` [INFO] [stdout] 9bfb6a9eb866b9cd9f52411da79144933023eae9bb32ca227915abecf2490669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7c6a4778eacb13abf8f5217c3c5d9d3f74deba5017a8381c1f66b9a7162d428 [INFO] running `Command { std: "docker" "start" "-a" "e7c6a4778eacb13abf8f5217c3c5d9d3f74deba5017a8381c1f66b9a7162d428", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `tcs` [INFO] [stderr] --> src/check/pats/mat.rs:126:14 [INFO] [stderr] | [INFO] [stderr] 126 | fn match_pat(tcs: &TCS, p: CorePat, t: Term) -> (Match, Term) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tcs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta1` [INFO] [stderr] --> src/check/rules/clause/split.rs:32:14 [INFO] [stderr] | [INFO] [stderr] 32 | let (mut delta1, dom, delta2) = split_tele(lhs.tele, ix); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta2` [INFO] [stderr] --> src/check/rules/clause/split.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | let (mut delta1, dom, delta2) = split_tele(lhs.tele, ix); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/check/rules/clause/split.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | let (data, tcs) = expect_data(tcs, dom.ty)?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cons_params` [INFO] [stderr] --> src/check/rules/clause/split.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | let cons_params = match tcs.def(head.cons_ix) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cons_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_forced` [INFO] [stderr] --> src/check/rules/clause/split.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | is_forced: bool, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_forced` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pats` [INFO] [stderr] --> src/check/rules/clause/split.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | pats: Vec, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pats` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/check/rules/clause/split.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | let (mut delta1, dom, delta2) = split_tele(lhs.tele, ix); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pat_sub` [INFO] [stderr] --> src/check/rules/clause/lhs.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | pub(super) pat_sub: Rc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Lhs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/check/rules/clause/lhs.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `insert_implicit_pats` [INFO] [stderr] --> src/check/rules/clause/state.rs:69:15 [INFO] [stderr] | [INFO] [stderr] 69 | pub(super) fn insert_implicit_pats(pats: Vec, tele: &TeleS) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/syntax/core/subst/prim.rs:130:53 [INFO] [stderr] | [INFO] [stderr] 130 | (n, Lift(DBI(0), _rho)) => unreachable!(&format!("n = {:?}", n)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 130 | (n, Lift(DBI(0), _rho)) => unreachable!("{}", &format!("n = {:?}", n)), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/check/rules/decls.rs:36:43 [INFO] [stderr] | [INFO] [stderr] 36 | _ => unreachable!(ERROR_MSG), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 36 | _ => unreachable!("{}", ERROR_MSG), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/check/rules/decls.rs:42:46 [INFO] [stderr] | [INFO] [stderr] 42 | AbsDecl::Cons(_) => unreachable!(ERROR_MSG), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 42 | AbsDecl::Cons(_) => unreachable!("{}", ERROR_MSG), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `nar` (lib) generated 13 warnings [INFO] [stderr] warning: `nar` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nar-e1c838ef4fdf24b3) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test syntax::abs::desugar::tests::simple_definition_desugar ... ok [INFO] [stdout] test syntax::abs::desugar::tests::simple_data_and_constructor_desugar ... ok [INFO] [stdout] test syntax::abs::desugar::tests::simple_pattern_definition_desugar ... ok [INFO] [stdout] test syntax::surf::tests::expr_parse ... ok [INFO] [stdout] test syntax::surf::tests::data_parse ... ok [INFO] [stdout] test syntax::surf::tests::codata_parse ... ok [INFO] [stdout] test syntax::surf::tests::definition_parse ... ok [INFO] [stdout] test syntax::surf::tests::clause_parse ... ok [INFO] [stdout] test syntax::abs::desugar::tests::multiple_patterns_increases_ix ... ok [INFO] [stdout] test check::pats::tests::simple_simplify ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/cli/mod.rs (/opt/rustwide/target/debug/deps/narc-9b19335d1eed2699) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests nar [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e7c6a4778eacb13abf8f5217c3c5d9d3f74deba5017a8381c1f66b9a7162d428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c6a4778eacb13abf8f5217c3c5d9d3f74deba5017a8381c1f66b9a7162d428", kill_on_drop: false }` [INFO] [stdout] e7c6a4778eacb13abf8f5217c3c5d9d3f74deba5017a8381c1f66b9a7162d428