[INFO] cloning repository https://github.com/MarcoTz/higher-kinds [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarcoTz/higher-kinds" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcoTz%2Fhigher-kinds", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcoTz%2Fhigher-kinds'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82d01fb932173639fb391fa5f9f6b17c50e29248 [INFO] checking MarcoTz/higher-kinds/82d01fb932173639fb391fa5f9f6b17c50e29248 against master#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcoTz%2Fhigher-kinds" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MarcoTz/higher-kinds [INFO] finished tweaking git repo https://github.com/MarcoTz/higher-kinds [INFO] tweaked toml for git repo https://github.com/MarcoTz/higher-kinds written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MarcoTz/higher-kinds on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MarcoTz/higher-kinds 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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4bcb17e88c5ee3fb35dc5e707af114158725692713236920ebf38f231fb35c4 [INFO] running `Command { std: "docker" "start" "-a" "f4bcb17e88c5ee3fb35dc5e707af114158725692713236920ebf38f231fb35c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4bcb17e88c5ee3fb35dc5e707af114158725692713236920ebf38f231fb35c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4bcb17e88c5ee3fb35dc5e707af114158725692713236920ebf38f231fb35c4", kill_on_drop: false }` [INFO] [stdout] f4bcb17e88c5ee3fb35dc5e707af114158725692713236920ebf38f231fb35c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8753a6816015af9a474d49a2b95559f767558bf42c3fb89b292b57b698457168 [INFO] running `Command { std: "docker" "start" "-a" "8753a6816015af9a474d49a2b95559f767558bf42c3fb89b292b57b698457168", kill_on_drop: false }` [INFO] [stderr] Checking syntax v0.1.0 (/opt/rustwide/workdir/syntax) [INFO] [stderr] Checking inference v0.1.0 (/opt/rustwide/workdir/inference) [INFO] [stdout] warning: struct `VarBinding` is never constructed [INFO] [stdout] --> inference/src/context.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VarBinding { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> inference/src/context.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_var` and `add_var` are never used [INFO] [stdout] --> inference/src/context.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 20 | pub fn find_var(&self, v: &Var) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn add_var(&mut self, v: &Var, ty: &PolyType) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dsk` is never used [INFO] [stdout] --> inference/src/dsk.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn dsk(_lower: &PolyType, _upper: &PolyType) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dsk_star` is never used [INFO] [stdout] --> inference/src/dsk.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn dsk_star(_lower: &PolyType, _upper: &RhoType) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pr` is never used [INFO] [stdout] --> inference/src/dsk.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn pr(_ty: &PolyType) -> PolyType { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> inference/src/errors.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_inst` is never used [INFO] [stdout] --> inference/src/inst.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn check_inst(lower: &PolyType, upper: &RhoType) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_inst` is never used [INFO] [stdout] --> inference/src/inst.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn infer_inst(lower: &PolyType) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_poly` is never used [INFO] [stdout] --> inference/src/poly.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn check_poly(t: &Term, ty: &PolyType, ctx: &mut Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_poly` is never used [INFO] [stdout] --> inference/src/poly.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn infer_poly(t: &Term, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_type` is never used [INFO] [stdout] --> inference/src/typecheck.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn check_type(t: &Term, ty: &RhoType, ctx: &mut Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_type` is never used [INFO] [stdout] --> inference/src/typeinfer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn infer_type(t: &Term, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking higher-rank v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] warning: struct `VarBinding` is never constructed [INFO] [stdout] --> inference/src/context.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VarBinding { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> inference/src/context.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_var` and `add_var` are never used [INFO] [stdout] --> inference/src/context.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 20 | pub fn find_var(&self, v: &Var) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn add_var(&mut self, v: &Var, ty: &PolyType) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dsk` is never used [INFO] [stdout] --> inference/src/dsk.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn dsk(_lower: &PolyType, _upper: &PolyType) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dsk_star` is never used [INFO] [stdout] --> inference/src/dsk.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn dsk_star(_lower: &PolyType, _upper: &RhoType) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pr` is never used [INFO] [stdout] --> inference/src/dsk.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn pr(_ty: &PolyType) -> PolyType { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> inference/src/errors.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_inst` is never used [INFO] [stdout] --> inference/src/inst.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn check_inst(lower: &PolyType, upper: &RhoType) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_inst` is never used [INFO] [stdout] --> inference/src/inst.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn infer_inst(lower: &PolyType) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_poly` is never used [INFO] [stdout] --> inference/src/poly.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn check_poly(t: &Term, ty: &PolyType, ctx: &mut Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_poly` is never used [INFO] [stdout] --> inference/src/poly.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn infer_poly(t: &Term, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_type` is never used [INFO] [stdout] --> inference/src/typecheck.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn check_type(t: &Term, ty: &RhoType, ctx: &mut Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_type` is never used [INFO] [stdout] --> inference/src/typeinfer.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn infer_type(t: &Term, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "8753a6816015af9a474d49a2b95559f767558bf42c3fb89b292b57b698457168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8753a6816015af9a474d49a2b95559f767558bf42c3fb89b292b57b698457168", kill_on_drop: false }` [INFO] [stdout] 8753a6816015af9a474d49a2b95559f767558bf42c3fb89b292b57b698457168