[INFO] cloning repository https://github.com/click-lang/click [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/click-lang/click" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclick-lang%2Fclick", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclick-lang%2Fclick'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad3ff86dae8e2d279fd84b024be14ea6eda8c422 [INFO] checking click-lang/click against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclick-lang%2Fclick" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/click-lang/click [INFO] finished tweaking git repo https://github.com/click-lang/click [INFO] tweaked toml for git repo https://github.com/click-lang/click written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/click-lang/click on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/click-lang/click 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking click-lang/click against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclick-lang%2Fclick" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/click-lang/click [INFO] finished tweaking git repo https://github.com/click-lang/click [INFO] tweaked toml for git repo https://github.com/click-lang/click written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/click-lang/click on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/click-lang/click 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3ba4dfa97b0bddea6e66a056b812d1cc9daecf145ad8e6c18b44414fd707e99 [INFO] running `Command { std: "docker" "start" "-a" "b3ba4dfa97b0bddea6e66a056b812d1cc9daecf145ad8e6c18b44414fd707e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3ba4dfa97b0bddea6e66a056b812d1cc9daecf145ad8e6c18b44414fd707e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3ba4dfa97b0bddea6e66a056b812d1cc9daecf145ad8e6c18b44414fd707e99", kill_on_drop: false }` [INFO] [stdout] b3ba4dfa97b0bddea6e66a056b812d1cc9daecf145ad8e6c18b44414fd707e99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0be6c3ecc42ad17372da5edf323c3636d40006941d98f9ac9c9ff77ad3c3ead9 [INFO] running `Command { std: "docker" "start" "-a" "0be6c3ecc42ad17372da5edf323c3636d40006941d98f9ac9c9ff77ad3c3ead9", kill_on_drop: false }` [INFO] [stderr] Checking click v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `mul` [INFO] [stdout] --> src/vm/main.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | macro_rules! mul { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `div` [INFO] [stdout] --> src/vm/main.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | macro_rules! div { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `mul` [INFO] [stdout] --> src/vm/main.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | macro_rules! mul { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `div` [INFO] [stdout] --> src/vm/main.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | macro_rules! div { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let mut ops = vec![ [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: variable does not need to be mutable [INFO] [stdout] --> src/vm/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let mut ops = vec![ [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: variable does not need to be mutable [INFO] [stdout] --> src/vm/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut exitCode = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut exitCode = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/main.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | T(Type), [INFO] [stdout] | - ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Code` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - T(Type), [INFO] [stdout] 5 + T(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mul`, `Div`, and `Delete` are never constructed [INFO] [stdout] --> src/vm/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Mul(Type, Type, Type), [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Div(Type, Type, Type), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | Delete(Type), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` 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: field `0` is never read [INFO] [stdout] --> src/vm/main.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | T(Type), [INFO] [stdout] | - ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Code` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - T(Type), [INFO] [stdout] 5 + T(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Func` and `Let` are never constructed [INFO] [stdout] --> src/vm/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum Label<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 22 | OrElse(Type), [INFO] [stdout] 23 | Func(&'a str), [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Let(&'a str, Type), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Label` 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: variants `Mul`, `Div`, and `Delete` are never constructed [INFO] [stdout] --> src/vm/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Mul(Type, Type, Type), [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Div(Type, Type, Type), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | Delete(Type), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` 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: variant `Char` is never constructed [INFO] [stdout] --> src/vm/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Char(char), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: variants `Func` and `Let` are never constructed [INFO] [stdout] --> src/vm/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum Label<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 22 | OrElse(Type), [INFO] [stdout] 23 | Func(&'a str), [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Let(&'a str, Type), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Label` 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: method `to_code` is never used [INFO] [stdout] --> src/vm/main.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 48 | trait ToEnum { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 49 | fn to_type(&self) -> Type; [INFO] [stdout] 50 | fn to_code(&self) -> Code { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Char` is never constructed [INFO] [stdout] --> src/vm/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Char(char), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: method `to_code` is never used [INFO] [stdout] --> src/vm/main.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 48 | trait ToEnum { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 49 | fn to_type(&self) -> Type; [INFO] [stdout] 50 | fn to_code(&self) -> Code { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm/main.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn to_code(&self) -> Code { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | fn to_code(&self) -> Code<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exitCode` should have a snake case name [INFO] [stdout] --> src/vm/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let exitCode = exec(ops); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `exit_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifStack` should have a snake case name [INFO] [stdout] --> src/vm/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let mut ifStack = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `if_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exitCode` should have a snake case name [INFO] [stdout] --> src/vm/main.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let mut exitCode = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `exit_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm/main.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn to_code(&self) -> Code { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | fn to_code(&self) -> Code<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `orElse` should have a snake case name [INFO] [stdout] --> src/vm/main.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | O(If(cond, Mem(orElse))) => { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `or_else` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exitCode` should have a snake case name [INFO] [stdout] --> src/vm/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let exitCode = exec(ops); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `exit_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ifStack` should have a snake case name [INFO] [stdout] --> src/vm/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let mut ifStack = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `if_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exitCode` should have a snake case name [INFO] [stdout] --> src/vm/main.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let mut exitCode = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `exit_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `orElse` should have a snake case name [INFO] [stdout] --> src/vm/main.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | O(If(cond, Mem(orElse))) => { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `or_else` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "0be6c3ecc42ad17372da5edf323c3636d40006941d98f9ac9c9ff77ad3c3ead9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be6c3ecc42ad17372da5edf323c3636d40006941d98f9ac9c9ff77ad3c3ead9", kill_on_drop: false }` [INFO] [stdout] 0be6c3ecc42ad17372da5edf323c3636d40006941d98f9ac9c9ff77ad3c3ead9