[INFO] fetching crate mochi-lang 0.1.1... [INFO] checking mochi-lang-0.1.1 against master#f167efad2f51088d86180ee89177b3d7c9e7c2f5 for pr-129543 [INFO] extracting crate mochi-lang 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate mochi-lang 0.1.1 on toolchain f167efad2f51088d86180ee89177b3d7c9e7c2f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-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-6-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" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "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-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" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e24ec8ca6fd5657861c78492606c7beb0b1b6cceb9de1b54a10f9fec73ab204 [INFO] running `Command { std: "docker" "start" "-a" "0e24ec8ca6fd5657861c78492606c7beb0b1b6cceb9de1b54a10f9fec73ab204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e24ec8ca6fd5657861c78492606c7beb0b1b6cceb9de1b54a10f9fec73ab204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e24ec8ca6fd5657861c78492606c7beb0b1b6cceb9de1b54a10f9fec73ab204", kill_on_drop: false }` [INFO] [stdout] 0e24ec8ca6fd5657861c78492606c7beb0b1b6cceb9de1b54a10f9fec73ab204 [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" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d37e1a512c4c5195eecbb12de9a8534fb60de6b2166a24a2e63e9d284c451f48 [INFO] running `Command { std: "docker" "start" "-a" "d37e1a512c4c5195eecbb12de9a8534fb60de6b2166a24a2e63e9d284c451f48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling syn v1.0.109 [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 16.39s [INFO] running `Command { std: "docker" "inspect" "d37e1a512c4c5195eecbb12de9a8534fb60de6b2166a24a2e63e9d284c451f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d37e1a512c4c5195eecbb12de9a8534fb60de6b2166a24a2e63e9d284c451f48", kill_on_drop: false }` [INFO] [stdout] d37e1a512c4c5195eecbb12de9a8534fb60de6b2166a24a2e63e9d284c451f48