[INFO] cloning repository https://github.com/egithinji/hack_assembler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/egithinji/hack_assembler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fegithinji%2Fhack_assembler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fegithinji%2Fhack_assembler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27dfb0582c713c7e186f03c6a5e8d39777e12e14 [INFO] checking egithinji/hack_assembler/27dfb0582c713c7e186f03c6a5e8d39777e12e14 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fegithinji%2Fhack_assembler" "/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/egithinji/hack_assembler on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/egithinji/hack_assembler [INFO] finished tweaking git repo https://github.com/egithinji/hack_assembler [INFO] tweaked toml for git repo https://github.com/egithinji/hack_assembler written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/egithinji/hack_assembler 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d6986f5b482a544250120d74f5a85eaae83c22e59884071c8be1e61068eed07 [INFO] running `Command { std: "docker" "start" "-a" "8d6986f5b482a544250120d74f5a85eaae83c22e59884071c8be1e61068eed07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d6986f5b482a544250120d74f5a85eaae83c22e59884071c8be1e61068eed07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d6986f5b482a544250120d74f5a85eaae83c22e59884071c8be1e61068eed07", kill_on_drop: false }` [INFO] [stdout] 8d6986f5b482a544250120d74f5a85eaae83c22e59884071c8be1e61068eed07 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ae033e1190c5687f5cf0fcb435d4372d46858272f466f849ba6425cd4b7d36a [INFO] running `Command { std: "docker" "start" "-a" "0ae033e1190c5687f5cf0fcb435d4372d46858272f466f849ba6425cd4b7d36a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking hack_assembler v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/parser.rs (3 fixes) [INFO] [stderr] Fixed src/symbol_table.rs (1 fix) [INFO] [stdout] warning: variant `A_COMMAND` should have an upper camel case name [INFO] [stdout] --> src/parser.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | A_COMMAND, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ACommand` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `C_COMMAND` should have an upper camel case name [INFO] [stdout] --> src/parser.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | C_COMMAND, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CCommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `L_COMMAND` should have an upper camel case name [INFO] [stdout] --> src/parser.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | L_COMMAND, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LCommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/parser.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | v => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/parser.rs:332:16 [INFO] [stdout] | [INFO] [stdout] 332 | let file = File::open("Add.asm").unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/parser.rs:343:16 [INFO] [stdout] | [INFO] [stdout] 343 | let file = File::open("Add.asm").unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/parser.rs:353:16 [INFO] [stdout] | [INFO] [stdout] 353 | let file = File::open("Add.asm").unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/parser.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 368 | let file = File::open("Add.asm").unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/parser.rs:379:16 [INFO] [stdout] | [INFO] [stdout] 379 | let file = File::open("Add.asm").unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/parser.rs:395:16 [INFO] [stdout] | [INFO] [stdout] 395 | let file = File::open("Add.asm").unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/parser.rs:411:16 [INFO] [stdout] | [INFO] [stdout] 411 | let file = File::open("Add.asm").unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/parser.rs:425:16 [INFO] [stdout] | [INFO] [stdout] 425 | let file = File::open("Add.asm").unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hack_assembler` (bin "hack_assembler" test) due to 10 previous errors; 4 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/parser.rs:439:16 [INFO] [stdout] | [INFO] [stdout] 439 | let file = File::open("Add.asm").unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `A_COMMAND` should have an upper camel case name [INFO] [stdout] --> src/parser.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | A_COMMAND, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ACommand` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `C_COMMAND` should have an upper camel case name [INFO] [stdout] --> src/parser.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | C_COMMAND, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CCommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `L_COMMAND` should have an upper camel case name [INFO] [stdout] --> src/parser.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | L_COMMAND, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LCommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/parser.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | v => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0ae033e1190c5687f5cf0fcb435d4372d46858272f466f849ba6425cd4b7d36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ae033e1190c5687f5cf0fcb435d4372d46858272f466f849ba6425cd4b7d36a", kill_on_drop: false }` [INFO] [stdout] 0ae033e1190c5687f5cf0fcb435d4372d46858272f466f849ba6425cd4b7d36a