[INFO] cloning repository https://github.com/David-Factor/red [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/David-Factor/red" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavid-Factor%2Fred", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavid-Factor%2Fred'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64b7db3c70c6639b128c15e94aea002e5b8efd77 [INFO] checking David-Factor/red/64b7db3c70c6639b128c15e94aea002e5b8efd77 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavid-Factor%2Fred" "/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/David-Factor/red on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/David-Factor/red [INFO] finished tweaking git repo https://github.com/David-Factor/red [INFO] tweaked toml for git repo https://github.com/David-Factor/red written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/David-Factor/red 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 575cf77417f2022c539e06cbd2be583a69c30fc4e5434d6cc71c1fe256807c94 [INFO] running `Command { std: "docker" "start" "-a" "575cf77417f2022c539e06cbd2be583a69c30fc4e5434d6cc71c1fe256807c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "575cf77417f2022c539e06cbd2be583a69c30fc4e5434d6cc71c1fe256807c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575cf77417f2022c539e06cbd2be583a69c30fc4e5434d6cc71c1fe256807c94", kill_on_drop: false }` [INFO] [stdout] 575cf77417f2022c539e06cbd2be583a69c30fc4e5434d6cc71c1fe256807c94 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac809ff7118fe2569b7a71fd82b5a6e47ef7ed6dec493d8a40f1d27d8056e02f [INFO] running `Command { std: "docker" "start" "-a" "ac809ff7118fe2569b7a71fd82b5a6e47ef7ed6dec493d8a40f1d27d8056e02f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking red v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ast.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Literal { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 32 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has a derived impl for the trait `Debug`, 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: field `value` is never read [INFO] [stdout] --> src/ast.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Literal { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 32 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has a derived impl for the trait `Debug`, 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: associated functions `assert_number` and `assert_text` are never used [INFO] [stdout] --> src/typecheck.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> Check<'a> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | fn assert_number(path: Path, received: Type) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn assert_text(path: Path, received: Type) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `error` are never read [INFO] [stdout] --> src/typecheck.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Error<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 126 | path: Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] 127 | error: TypeError<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `assert_number` and `assert_text` are never used [INFO] [stdout] --> src/typecheck.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> Check<'a> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | fn assert_number(path: Path, received: Type) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn assert_text(path: Path, received: Type) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `error` are never read [INFO] [stdout] --> src/typecheck.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Error<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 126 | path: Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] 127 | error: TypeError<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typecheck.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | TypeMismatch(TypeMismatch), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 133 | TypeMismatch(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typecheck.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | Undefined(&'a Ident), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 134 | Undefined(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typecheck.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | TypeMismatch(TypeMismatch), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 133 | TypeMismatch(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typecheck.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | ExpectedRecord(Type), [INFO] [stdout] | -------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 135 | ExpectedRecord(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typecheck.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | Undefined(&'a Ident), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 134 | Undefined(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typecheck.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | ExpectedList(Type), [INFO] [stdout] | ------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 136 | ExpectedList(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected` and `received` are never read [INFO] [stdout] --> src/typecheck.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | struct TypeMismatch { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 141 | expected: Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 142 | received: Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeMismatch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typecheck.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | ExpectedRecord(Type), [INFO] [stdout] | -------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 135 | ExpectedRecord(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typecheck.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | ExpectedList(Type), [INFO] [stdout] | ------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 136 | ExpectedList(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected` and `received` are never read [INFO] [stdout] --> src/typecheck.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | struct TypeMismatch { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 141 | expected: Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 142 | received: Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeMismatch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `boundVar` should have a snake case name [INFO] [stdout] --> src/ast.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub boundVar: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `bound_var` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `boundVar` should have a snake case name [INFO] [stdout] --> src/ast.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub boundVar: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `bound_var` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let if_ = r#"{"name": "if", [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_if_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let if_ = r#"{"name": "if", [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_if_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.10s [INFO] running `Command { std: "docker" "inspect" "ac809ff7118fe2569b7a71fd82b5a6e47ef7ed6dec493d8a40f1d27d8056e02f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac809ff7118fe2569b7a71fd82b5a6e47ef7ed6dec493d8a40f1d27d8056e02f", kill_on_drop: false }` [INFO] [stdout] ac809ff7118fe2569b7a71fd82b5a6e47ef7ed6dec493d8a40f1d27d8056e02f