[INFO] cloning repository https://github.com/ddmngz/mcc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddmngz/mcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddmngz%2Fmcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddmngz%2Fmcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8629add25e8ebc62f7af6fe919f66589bd0e275d [INFO] checking ddmngz/mcc against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddmngz%2Fmcc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ddmngz/mcc [INFO] finished tweaking git repo https://github.com/ddmngz/mcc [INFO] tweaked toml for git repo https://github.com/ddmngz/mcc written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ddmngz/mcc on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ddmngz/mcc 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc2/source/mcc/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9a782b18ae037e050a7304958b409f7b37e5feb939af82079f43428128ba781 [INFO] running `Command { std: "docker" "start" "-a" "a9a782b18ae037e050a7304958b409f7b37e5feb939af82079f43428128ba781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9a782b18ae037e050a7304958b409f7b37e5feb939af82079f43428128ba781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a782b18ae037e050a7304958b409f7b37e5feb939af82079f43428128ba781", kill_on_drop: false }` [INFO] [stdout] a9a782b18ae037e050a7304958b409f7b37e5feb939af82079f43428128ba781 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddf0f49fc53b1276d335733e8e8542df3ec9c51b8ac7ae649bdf248be5225a0b [INFO] running `Command { std: "docker" "start" "-a" "ddf0f49fc53b1276d335733e8e8542df3ec9c51b8ac7ae649bdf248be5225a0b", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/mcc/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking ast v0.1.0 (/opt/rustwide/workdir/ast) [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking util v0.1.0 (/opt/rustwide/workdir/util) [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking asm v0.1.0 (/opt/rustwide/workdir/asm) [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> asm/src/x86.rs:614:31 [INFO] [stdout] | [INFO] [stdout] 614 | pub fn above_dword(&self, target: &Target) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ty` is never used [INFO] [stdout] --> asm/src/x86.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl BackendSymbol { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 34 | fn ty(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> asm/src/x86.rs:614:31 [INFO] [stdout] | [INFO] [stdout] 614 | pub fn above_dword(&self, target: &Target) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mcc v0.1.0 (/opt/rustwide/workdir/mcc) [INFO] [stdout] warning: method `ty` is never used [INFO] [stdout] --> asm/src/x86.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl BackendSymbol { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 34 | fn ty(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::semantics::Label` [INFO] [stdout] --> mcc/src/codegen/tacky_opt.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ast::semantics::Label; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> mcc/src/codegen/tacky_opt.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> mcc/src/codegen/tacky_opt/eliminate_unreachable.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Graph, Instruction, Node, NodeId}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `R10` [INFO] [stdout] --> mcc/src/codegen/x86_pass.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | op_regs::{self as op, R10}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Constant` [INFO] [stdout] --> mcc/src/parse.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ast::Constant; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Int` and `Long` [INFO] [stdout] --> mcc/src/parse.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use ast::{Int, Long}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::semantics::Label` [INFO] [stdout] --> mcc/src/codegen/tacky_opt.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ast::semantics::Label; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> mcc/src/codegen/tacky_opt.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> mcc/src/codegen/tacky_opt/eliminate_unreachable.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Graph, Instruction, Node, NodeId}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `R10` [INFO] [stdout] --> mcc/src/codegen/x86_pass.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | op_regs::{self as op, R10}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Constant` [INFO] [stdout] --> mcc/src/parse.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ast::Constant; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Int` and `Long` [INFO] [stdout] --> mcc/src/parse.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use ast::{Int, Long}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `annot` is never read [INFO] [stdout] --> mcc/src/codegen/tacky_opt/cfg.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | annot: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_exit`, `is_entry`, `annot`, and `annot_mut` are never used [INFO] [stdout] --> mcc/src/codegen/tacky_opt/cfg.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 150 | impl Node { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub const fn is_exit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub const fn is_entry(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub const fn annot(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub const fn annot_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RuleRes` is never used [INFO] [stdout] --> mcc/src/codegen/x86_pass.rs:85:6 [INFO] [stdout] | [INFO] [stdout] 85 | type RuleRes = std::result::Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unary` is never used [INFO] [stdout] --> mcc/src/codegen/x86_pass/rule.rs:299:18 [INFO] [stdout] | [INFO] [stdout] 137 | impl<'a> PairRule<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | pub const fn unary(rule: OpRule<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `DebugStmnt` is never constructed [INFO] [stdout] --> mcc/src/parse.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | pub struct DebugStmnt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `DebugStmnt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `annot` is never read [INFO] [stdout] --> mcc/src/codegen/tacky_opt/cfg.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | annot: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_exit`, `is_entry`, `annot`, and `annot_mut` are never used [INFO] [stdout] --> mcc/src/codegen/tacky_opt/cfg.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 150 | impl Node { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub const fn is_exit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub const fn is_entry(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub const fn annot(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub const fn annot_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RuleRes` is never used [INFO] [stdout] --> mcc/src/codegen/x86_pass.rs:85:6 [INFO] [stdout] | [INFO] [stdout] 85 | type RuleRes = std::result::Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unary` is never used [INFO] [stdout] --> mcc/src/codegen/x86_pass/rule.rs:299:18 [INFO] [stdout] | [INFO] [stdout] 137 | impl<'a> PairRule<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | pub const fn unary(rule: OpRule<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `DebugStmnt` is never constructed [INFO] [stdout] --> mcc/src/parse.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | pub struct DebugStmnt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `DebugStmnt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcc` (lib test) due to 1 previous error; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mcc` (lib) due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ddf0f49fc53b1276d335733e8e8542df3ec9c51b8ac7ae649bdf248be5225a0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddf0f49fc53b1276d335733e8e8542df3ec9c51b8ac7ae649bdf248be5225a0b", kill_on_drop: false }` [INFO] [stdout] ddf0f49fc53b1276d335733e8e8542df3ec9c51b8ac7ae649bdf248be5225a0b