[INFO] cloning repository https://github.com/taisuke101/rust-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taisuke101/rust-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaisuke101%2Frust-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaisuke101%2Frust-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f4bcfd3a752e8b987083c4a2a56a00a75ca8f5d [INFO] checking taisuke101/rust-compiler against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaisuke101%2Frust-compiler" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/taisuke101/rust-compiler on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/taisuke101/rust-compiler [INFO] finished tweaking git repo https://github.com/taisuke101/rust-compiler [INFO] tweaked toml for git repo https://github.com/taisuke101/rust-compiler written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/taisuke101/rust-compiler 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d96a8d3c83878a585dafa02690ad8ea10cbbff28358ceb532f02c379e6ad7b7 [INFO] running `Command { std: "docker" "start" "-a" "4d96a8d3c83878a585dafa02690ad8ea10cbbff28358ceb532f02c379e6ad7b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d96a8d3c83878a585dafa02690ad8ea10cbbff28358ceb532f02c379e6ad7b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d96a8d3c83878a585dafa02690ad8ea10cbbff28358ceb532f02c379e6ad7b7", kill_on_drop: false }` [INFO] [stdout] 4d96a8d3c83878a585dafa02690ad8ea10cbbff28358ceb532f02c379e6ad7b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8cc732426fa9e5f484eb50a2db348b687bfa20a96c165f4c4ec3db182ff1246 [INFO] running `Command { std: "docker" "start" "-a" "e8cc732426fa9e5f484eb50a2db348b687bfa20a96c165f4c4ec3db182ff1246", kill_on_drop: false }` [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TextSpan` [INFO] [stdout] --> src/ast/parser.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | lexer::{TextSpan, Token, TokenKind}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct ASTBinaryOperator { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 155 | kind: ASTBinaryOperatorKind, [INFO] [stdout] 156 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ASTBinaryOperator` 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: method `length` is never used [INFO] [stdout] --> src/ast/lexer.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl TextSpan { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct ASTBinaryOperator { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 155 | kind: ASTBinaryOperatorKind, [INFO] [stdout] 156 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ASTBinaryOperator` 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "e8cc732426fa9e5f484eb50a2db348b687bfa20a96c165f4c4ec3db182ff1246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8cc732426fa9e5f484eb50a2db348b687bfa20a96c165f4c4ec3db182ff1246", kill_on_drop: false }` [INFO] [stdout] e8cc732426fa9e5f484eb50a2db348b687bfa20a96c165f4c4ec3db182ff1246 [INFO] checking taisuke101/rust-compiler against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaisuke101%2Frust-compiler" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/taisuke101/rust-compiler on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/taisuke101/rust-compiler [INFO] finished tweaking git repo https://github.com/taisuke101/rust-compiler [INFO] tweaked toml for git repo https://github.com/taisuke101/rust-compiler written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/taisuke101/rust-compiler 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cadd8885f22077847d126f01aeba6d139871446c2c86587bcd65dad196a8f603 [INFO] running `Command { std: "docker" "start" "-a" "cadd8885f22077847d126f01aeba6d139871446c2c86587bcd65dad196a8f603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cadd8885f22077847d126f01aeba6d139871446c2c86587bcd65dad196a8f603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cadd8885f22077847d126f01aeba6d139871446c2c86587bcd65dad196a8f603", kill_on_drop: false }` [INFO] [stdout] cadd8885f22077847d126f01aeba6d139871446c2c86587bcd65dad196a8f603 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 411719a025701be2807e56a290c853abda38deebb53f585170dc84d4731baab7 [INFO] running `Command { std: "docker" "start" "-a" "411719a025701be2807e56a290c853abda38deebb53f585170dc84d4731baab7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking compiler v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct ASTBinaryOperator { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 155 | kind: ASTBinaryOperatorKind, [INFO] [stdout] 156 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ASTBinaryOperator` 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/ast/parser.rs (1 fix) [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct ASTBinaryOperator { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 155 | kind: ASTBinaryOperatorKind, [INFO] [stdout] 156 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ASTBinaryOperator` 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: method `length` is never used [INFO] [stdout] --> src/ast/lexer.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl TextSpan { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking compiler v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TextSpan` in this scope [INFO] [stdout] --> src/ast/parser.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | TextSpan { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use crate::ast::lexer::TextSpan; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TextSpan` in this scope [INFO] [stdout] --> src/ast/parser.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | TextSpan { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use crate::ast::lexer::TextSpan; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TextSpan` in this scope [INFO] [stdout] --> src/ast/parser.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | TextSpan { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use crate::ast::lexer::TextSpan; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TextSpan` in this scope [INFO] [stdout] --> src/ast/parser.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | TextSpan { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use crate::ast::lexer::TextSpan; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TextSpan` in this scope [INFO] [stdout] --> src/ast/parser.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | TextSpan { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use crate::ast::lexer::TextSpan; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct ASTBinaryOperator { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 155 | kind: ASTBinaryOperatorKind, [INFO] [stdout] 156 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ASTBinaryOperator` 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: method `length` is never used [INFO] [stdout] --> src/ast/lexer.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl TextSpan { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` (bin "compiler" test) due to 6 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "411719a025701be2807e56a290c853abda38deebb53f585170dc84d4731baab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411719a025701be2807e56a290c853abda38deebb53f585170dc84d4731baab7", kill_on_drop: false }` [INFO] [stdout] 411719a025701be2807e56a290c853abda38deebb53f585170dc84d4731baab7