[INFO] cloning repository https://github.com/Fucloud233/irsim-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fucloud233/irsim-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFucloud233%2Firsim-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFucloud233%2Firsim-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 102d7f7a9840d75d4bef785462215d0093142f95 [INFO] checking Fucloud233/irsim-rust/102d7f7a9840d75d4bef785462215d0093142f95 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFucloud233%2Firsim-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fucloud233/irsim-rust 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/Fucloud233/irsim-rust [INFO] finished tweaking git repo https://github.com/Fucloud233/irsim-rust [INFO] tweaked toml for git repo https://github.com/Fucloud233/irsim-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Fucloud233/irsim-rust 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 01487fc36e7687b95116209236de42b9c9f80f013f17f434d4fbacebad08a53c [INFO] running `Command { std: "docker" "start" "-a" "01487fc36e7687b95116209236de42b9c9f80f013f17f434d4fbacebad08a53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01487fc36e7687b95116209236de42b9c9f80f013f17f434d4fbacebad08a53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01487fc36e7687b95116209236de42b9c9f80f013f17f434d4fbacebad08a53c", kill_on_drop: false }` [INFO] [stdout] 01487fc36e7687b95116209236de42b9c9f80f013f17f434d4fbacebad08a53c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d8d54d9582c7b5f7041f53703ba518f4795fcbf1c7e71d190a44d5ec55e451ee [INFO] running `Command { std: "docker" "start" "-a" "d8d54d9582c7b5f7041f53703ba518f4795fcbf1c7e71d190a44d5ec55e451ee", 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] Compiling libc v0.2.150 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustix v0.38.26 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking lalrpop-util v0.20.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Compiling irsim-rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/irsim-rust-ede247ceee69b288/out/parser.rs (2 fixes) [INFO] [stdout] warning: fields `size` and `is_array` are never read [INFO] [stdout] --> src/interpreter.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct Symbol { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | addr: i32, [INFO] [stdout] 22 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | is_array: bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/irsim-rust-ede247ceee69b288/out/parser.rs:555:23 [INFO] [stdout] | [INFO] [stdout] 554 | impl LabelParser { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 555 | pub(crate) fn new() -> LabelParser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/irsim-rust-ede247ceee69b288/out/parser.rs:4082:23 [INFO] [stdout] | [INFO] [stdout] 4081 | impl VarParser { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 4082 | pub(crate) fn new() -> VarParser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BaseError` is never used [INFO] [stdout] --> src/error.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait BaseError: Display { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `i` are never read [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InterpreterError<'a> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 11 | kind: InterpreterErrorKind<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | i: usize [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpreterError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LabelParser` in `parser` [INFO] [stdout] --> src/test/lexer.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let parser = parser::LabelParser::new(); [INFO] [stdout] | ^^^^^^^^^^^ could not find `LabelParser` in `parser` [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> /opt/rustwide/target/debug/build/irsim-rust-ede247ceee69b288/out/parser.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | pub(crate) struct LabelParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `crate::interpreter::parser::__parse__Label::LabelParser`: not accessible [INFO] [stdout] | `crate::test::lexer::parser::__parse__Label::LabelParser`: not accessible [INFO] [stdout] | `crate::test::parser::parser::__parse__Label::LabelParser`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/cli/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: could not find `LabelParser` in `parser` [INFO] [stdout] --> src/test/lexer.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let parser = parser::LabelParser::new(); [INFO] [stdout] | ^^^^^^^^^^^ could not find `LabelParser` in `parser` [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> /opt/rustwide/target/debug/build/irsim-rust-ede247ceee69b288/out/parser.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | pub(crate) struct LabelParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `crate::interpreter::parser::__parse__Label::LabelParser`: not accessible [INFO] [stdout] | `crate::test::lexer::parser::__parse__Label::LabelParser`: not accessible [INFO] [stdout] | `crate::test::parser::parser::__parse__Label::LabelParser`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VarParser` in `parser` [INFO] [stdout] --> src/test/lexer.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | let parser = parser::VarParser::new(); [INFO] [stdout] | ^^^^^^^^^ could not find `VarParser` in `parser` [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> /opt/rustwide/target/debug/build/irsim-rust-ede247ceee69b288/out/parser.rs:4076:5 [INFO] [stdout] | [INFO] [stdout] 4076 | pub(crate) struct VarParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `crate::interpreter::parser::__parse__Var::VarParser`: not accessible [INFO] [stdout] | `crate::test::lexer::parser::__parse__Var::VarParser`: not accessible [INFO] [stdout] | `crate::test::parser::parser::__parse__Var::VarParser`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::__parse__Sentence::SentenceParser` [INFO] [stdout] --> /opt/rustwide/target/debug/build/irsim-rust-ede247ceee69b288/out/parser.rs:3520:9 [INFO] [stdout] | [INFO] [stdout] 3520 | pub use self::__parse__Sentence::SentenceParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `irsim-rust` (lib test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "d8d54d9582c7b5f7041f53703ba518f4795fcbf1c7e71d190a44d5ec55e451ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d54d9582c7b5f7041f53703ba518f4795fcbf1c7e71d190a44d5ec55e451ee", kill_on_drop: false }` [INFO] [stdout] d8d54d9582c7b5f7041f53703ba518f4795fcbf1c7e71d190a44d5ec55e451ee