[INFO] fetching crate mochi-lang 0.1.1... [INFO] checking mochi-lang-0.1.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate mochi-lang 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate mochi-lang 0.1.1 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] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate mochi-lang 0.1.1 [INFO] finished tweaking crates.io crate mochi-lang 0.1.1 [INFO] tweaked toml for crates.io crate mochi-lang 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate mochi-lang 0.1.1 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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 40609a834e80c8c95a753014f562487c98d93301e79c20e7a692d6854867b324 [INFO] running `Command { std: "docker" "start" "-a" "40609a834e80c8c95a753014f562487c98d93301e79c20e7a692d6854867b324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40609a834e80c8c95a753014f562487c98d93301e79c20e7a692d6854867b324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40609a834e80c8c95a753014f562487c98d93301e79c20e7a692d6854867b324", kill_on_drop: false }` [INFO] [stdout] 40609a834e80c8c95a753014f562487c98d93301e79c20e7a692d6854867b324 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 17ca43bb93992b744f4aeb96e2d4814a78e39dd6a5efe0ce5dd11dfa52edbef1 [INFO] running `Command { std: "docker" "start" "-a" "17ca43bb93992b744f4aeb96e2d4814a78e39dd6a5efe0ce5dd11dfa52edbef1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking mochi-lang v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `close` is never read [INFO] [stdout] --> src/ast/expr/block.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BlockExpr { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | pub open: Token, [INFO] [stdout] 15 | pub close: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockExpr` has derived impls for the traits `Clone` and `Debug`, 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: field `typ` is never read [INFO] [stdout] --> src/ast/expr/expr_typ.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | Cast { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 144 | typ: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/ast/expr/expr_typ.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 146 | Unpack { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 147 | typ: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/expr/match.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct MatchElseExpr { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 33 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchElseExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/stmt/impl.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct InterfaceImplStmt { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 21 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceImplStmt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token`, `outputs`, and `generic_map` are never read [INFO] [stdout] --> src/types/function.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 51 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub body: TypedExpr, [INFO] [stdout] 56 | pub generic_map: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/function.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct FunctionStub { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 62 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | pub name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | pub inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | pub outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | pub generics: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | pub tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | pub impl_on: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionStub` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/types/type.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | RecordPreDeclaration { [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 66 | token: Token, [INFO] [stdout] 67 | name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/types/type.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 104 | Enum { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 105 | /// Token of the `enum` keyword [INFO] [stdout] 106 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `func` is never read [INFO] [stdout] --> src/types/type.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | Stub { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 126 | func: FunctionStub, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `close` is never read [INFO] [stdout] --> src/ast/expr/block.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BlockExpr { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | pub open: Token, [INFO] [stdout] 15 | pub close: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockExpr` has derived impls for the traits `Clone` and `Debug`, 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: field `typ` is never read [INFO] [stdout] --> src/ast/expr/expr_typ.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | Cast { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 144 | typ: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/ast/expr/expr_typ.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 146 | Unpack { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 147 | typ: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/expr/match.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct MatchElseExpr { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 33 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchElseExpr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/stmt/impl.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct InterfaceImplStmt { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 21 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceImplStmt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token`, `outputs`, and `generic_map` are never read [INFO] [stdout] --> src/types/function.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 51 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub body: TypedExpr, [INFO] [stdout] 56 | pub generic_map: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/function.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct FunctionStub { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 62 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | pub name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | pub inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | pub outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | pub generics: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | pub tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | pub impl_on: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionStub` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/types/type.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | RecordPreDeclaration { [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 66 | token: Token, [INFO] [stdout] 67 | name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/types/type.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 104 | Enum { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 105 | /// Token of the `enum` keyword [INFO] [stdout] 106 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `func` is never read [INFO] [stdout] --> src/types/type.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | Stub { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 126 | func: FunctionStub, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.14s [INFO] running `Command { std: "docker" "inspect" "17ca43bb93992b744f4aeb96e2d4814a78e39dd6a5efe0ce5dd11dfa52edbef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ca43bb93992b744f4aeb96e2d4814a78e39dd6a5efe0ce5dd11dfa52edbef1", kill_on_drop: false }` [INFO] [stdout] 17ca43bb93992b744f4aeb96e2d4814a78e39dd6a5efe0ce5dd11dfa52edbef1