[INFO] cloning repository https://github.com/wasabi315/stg-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wasabi315/stg-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasabi315%2Fstg-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasabi315%2Fstg-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0084804a1ae86ecd9ce1b895370ddd6f8035b5b9 [INFO] checking wasabi315/stg-rs against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasabi315%2Fstg-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wasabi315/stg-rs on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wasabi315/stg-rs [INFO] finished tweaking git repo https://github.com/wasabi315/stg-rs [INFO] tweaked toml for git repo https://github.com/wasabi315/stg-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wasabi315/stg-rs 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3081eb8b5979c85c055bdfde7a893618352a9a89d8c5f5e0a3a11cb9ae0700b5 [INFO] running `Command { std: "docker" "start" "-a" "3081eb8b5979c85c055bdfde7a893618352a9a89d8c5f5e0a3a11cb9ae0700b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3081eb8b5979c85c055bdfde7a893618352a9a89d8c5f5e0a3a11cb9ae0700b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3081eb8b5979c85c055bdfde7a893618352a9a89d8c5f5e0a3a11cb9ae0700b5", kill_on_drop: false }` [INFO] [stdout] 3081eb8b5979c85c055bdfde7a893618352a9a89d8c5f5e0a3a11cb9ae0700b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6842d0e2c85d49276039ea07365fef044d64143c493642ee2319e9d937b0a752 [INFO] running `Command { std: "docker" "start" "-a" "6842d0e2c85d49276039ea07365fef044d64143c493642ee2319e9d937b0a752", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking stg-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Let` is never constructed [INFO] [stdout] --> src/stg/ast.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 20 | Let { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AlgAlt` is never constructed [INFO] [stdout] --> src/stg/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Alt { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 46 | AlgAlt { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and` is never used [INFO] [stdout] --> src/stg/prelude.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn and() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or` is never used [INFO] [stdout] --> src/stg/prelude.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn or() -> Program { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not` is never used [INFO] [stdout] --> src/stg/prelude.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn not() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix` is never used [INFO] [stdout] --> src/stg/prelude.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn fix() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seq` is never used [INFO] [stdout] --> src/stg/prelude.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn seq() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `id` is never used [INFO] [stdout] --> src/stg/prelude.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn id() -> Program { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `const_` is never used [INFO] [stdout] --> src/stg/prelude.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn const_() -> Program { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compose` is never used [INFO] [stdout] --> src/stg/prelude.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn compose() -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fst` is never used [INFO] [stdout] --> src/stg/prelude.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn fst() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snd` is never used [INFO] [stdout] --> src/stg/prelude.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn snd() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `curry` is never used [INFO] [stdout] --> src/stg/prelude.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn curry() -> Program { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uncurry` is never used [INFO] [stdout] --> src/stg/prelude.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn uncurry() -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swap` is never used [INFO] [stdout] --> src/stg/prelude.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn swap() -> Program { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/stg/machine.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 349 | fn match_con<'a>(&'a self, con1: &'a Con) -> Option { [INFO] [stdout] | ^^ ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 349 | fn match_con<'a>(&'a self, con1: &'a Con) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/stg/machine.rs:381:23 [INFO] [stdout] | [INFO] [stdout] 381 | fn match_lit<'a>(&'a self, lit1: i64) -> Option { [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 381 | fn match_lit<'a>(&'a self, lit1: i64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Let` is never constructed [INFO] [stdout] --> src/stg/ast.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 20 | Let { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AlgAlt` is never constructed [INFO] [stdout] --> src/stg/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Alt { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 46 | AlgAlt { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and` is never used [INFO] [stdout] --> src/stg/prelude.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn and() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or` is never used [INFO] [stdout] --> src/stg/prelude.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn or() -> Program { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not` is never used [INFO] [stdout] --> src/stg/prelude.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn not() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix` is never used [INFO] [stdout] --> src/stg/prelude.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn fix() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seq` is never used [INFO] [stdout] --> src/stg/prelude.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn seq() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `id` is never used [INFO] [stdout] --> src/stg/prelude.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn id() -> Program { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `const_` is never used [INFO] [stdout] --> src/stg/prelude.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn const_() -> Program { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compose` is never used [INFO] [stdout] --> src/stg/prelude.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn compose() -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fst` is never used [INFO] [stdout] --> src/stg/prelude.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn fst() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snd` is never used [INFO] [stdout] --> src/stg/prelude.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn snd() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `curry` is never used [INFO] [stdout] --> src/stg/prelude.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn curry() -> Program { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uncurry` is never used [INFO] [stdout] --> src/stg/prelude.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn uncurry() -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swap` is never used [INFO] [stdout] --> src/stg/prelude.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn swap() -> Program { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/stg/machine.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 349 | fn match_con<'a>(&'a self, con1: &'a Con) -> Option { [INFO] [stdout] | ^^ ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 349 | fn match_con<'a>(&'a self, con1: &'a Con) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/stg/machine.rs:381:23 [INFO] [stdout] | [INFO] [stdout] 381 | fn match_lit<'a>(&'a self, lit1: i64) -> Option { [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 381 | fn match_lit<'a>(&'a self, lit1: i64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "6842d0e2c85d49276039ea07365fef044d64143c493642ee2319e9d937b0a752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6842d0e2c85d49276039ea07365fef044d64143c493642ee2319e9d937b0a752", kill_on_drop: false }` [INFO] [stdout] 6842d0e2c85d49276039ea07365fef044d64143c493642ee2319e9d937b0a752