[INFO] cloning repository https://github.com/jnnnnn/toyrobot-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jnnnnn/toyrobot-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjnnnnn%2Ftoyrobot-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjnnnnn%2Ftoyrobot-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78725d52ec05d7b4c0f3a18579fe0152f9898f3f [INFO] checking jnnnnn/toyrobot-rust against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjnnnnn%2Ftoyrobot-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jnnnnn/toyrobot-rust 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/jnnnnn/toyrobot-rust [INFO] finished tweaking git repo https://github.com/jnnnnn/toyrobot-rust [INFO] tweaked toml for git repo https://github.com/jnnnnn/toyrobot-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jnnnnn/toyrobot-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ffea3e13703022bb30cee86162af33dbb87eb2af4bbbb1691268a64721d99efa [INFO] running `Command { std: "docker" "start" "-a" "ffea3e13703022bb30cee86162af33dbb87eb2af4bbbb1691268a64721d99efa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffea3e13703022bb30cee86162af33dbb87eb2af4bbbb1691268a64721d99efa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffea3e13703022bb30cee86162af33dbb87eb2af4bbbb1691268a64721d99efa", kill_on_drop: false }` [INFO] [stdout] ffea3e13703022bb30cee86162af33dbb87eb2af4bbbb1691268a64721d99efa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ba21f4d9d9979803801ca4b4b3ea043d26de29f3e8d0ecf9ab680549736b7668 [INFO] running `Command { std: "docker" "start" "-a" "ba21f4d9d9979803801ca4b4b3ea043d26de29f3e8d0ecf9ab680549736b7668", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling phf_macros v0.11.1 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking toyrobot-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/commands.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/input.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | use super::*; [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 5.81s [INFO] running `Command { std: "docker" "inspect" "ba21f4d9d9979803801ca4b4b3ea043d26de29f3e8d0ecf9ab680549736b7668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba21f4d9d9979803801ca4b4b3ea043d26de29f3e8d0ecf9ab680549736b7668", kill_on_drop: false }` [INFO] [stdout] ba21f4d9d9979803801ca4b4b3ea043d26de29f3e8d0ecf9ab680549736b7668 [INFO] checking jnnnnn/toyrobot-rust against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjnnnnn%2Ftoyrobot-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jnnnnn/toyrobot-rust 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/jnnnnn/toyrobot-rust [INFO] finished tweaking git repo https://github.com/jnnnnn/toyrobot-rust [INFO] tweaked toml for git repo https://github.com/jnnnnn/toyrobot-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jnnnnn/toyrobot-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1935d2cbf70a091e5bf35a14262eca6570c9d8653254faefb82ebaff94d7f59a [INFO] running `Command { std: "docker" "start" "-a" "1935d2cbf70a091e5bf35a14262eca6570c9d8653254faefb82ebaff94d7f59a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1935d2cbf70a091e5bf35a14262eca6570c9d8653254faefb82ebaff94d7f59a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1935d2cbf70a091e5bf35a14262eca6570c9d8653254faefb82ebaff94d7f59a", kill_on_drop: false }` [INFO] [stdout] 1935d2cbf70a091e5bf35a14262eca6570c9d8653254faefb82ebaff94d7f59a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d28d5da676cf77864adf64721c940e1bae31c2c752faa4fce3f8198f85a1095a [INFO] running `Command { std: "docker" "start" "-a" "d28d5da676cf77864adf64721c940e1bae31c2c752faa4fce3f8198f85a1095a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling phf_macros v0.11.1 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking toyrobot-rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/input.rs (1 fix) [INFO] [stderr] Fixed src/commands.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.45s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking toyrobot-rust v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Robot` [INFO] [stdout] --> src/commands.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | let mut robot = Robot::new(0, 0, DIRECTIONS.get("NORTH").unwrap().clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `Robot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::Robot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIRECTIONS` in this scope [INFO] [stdout] --> src/commands.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | let mut robot = Robot::new(0, 0, DIRECTIONS.get("NORTH").unwrap().clone()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::DIRECTIONS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `turn_left` in this scope [INFO] [stdout] --> src/commands.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | turn_left(&mut robot); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 94 + use crate::commands::turn_left; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIRECTIONS` in this scope [INFO] [stdout] --> src/commands.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(robot.direction, DIRECTIONS.get("WEST").unwrap().clone()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::DIRECTIONS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Robot` [INFO] [stdout] --> src/commands.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | let mut robot = Robot::new(0, 0, DIRECTIONS.get("NORTH").unwrap().clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `Robot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::Robot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIRECTIONS` in this scope [INFO] [stdout] --> src/commands.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let mut robot = Robot::new(0, 0, DIRECTIONS.get("NORTH").unwrap().clone()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::DIRECTIONS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `turn_right` in this scope [INFO] [stdout] --> src/commands.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | turn_right(&mut robot); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 94 + use crate::commands::turn_right; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIRECTIONS` in this scope [INFO] [stdout] --> src/commands.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(robot.direction, DIRECTIONS.get("EAST").unwrap().clone()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::DIRECTIONS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Robot` [INFO] [stdout] --> src/commands.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | let mut robot = Robot::new(0, 0, DIRECTIONS.get("NORTH").unwrap().clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `Robot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::Robot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIRECTIONS` in this scope [INFO] [stdout] --> src/commands.rs:110:42 [INFO] [stdout] | [INFO] [stdout] 110 | let mut robot = Robot::new(0, 0, DIRECTIONS.get("NORTH").unwrap().clone()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::DIRECTIONS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `move_robot` in this scope [INFO] [stdout] --> src/commands.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | move_robot(&mut robot, &Table::new(5, 5)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 94 + use crate::commands::move_robot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Table` [INFO] [stdout] --> src/commands.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | move_robot(&mut robot, &Table::new(5, 5)); [INFO] [stdout] | ^^^^^ use of undeclared type `Table` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Robot` [INFO] [stdout] --> src/commands.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | let mut robot = Robot::new(0, 4, DIRECTIONS.get("NORTH").unwrap().clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `Robot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::Robot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIRECTIONS` in this scope [INFO] [stdout] --> src/commands.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | let mut robot = Robot::new(0, 4, DIRECTIONS.get("NORTH").unwrap().clone()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::DIRECTIONS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `move_robot` in this scope [INFO] [stdout] --> src/commands.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | move_robot(&mut robot, &Table::new(5, 5)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 94 + use crate::commands::move_robot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Table` [INFO] [stdout] --> src/commands.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | move_robot(&mut robot, &Table::new(5, 5)); [INFO] [stdout] | ^^^^^ use of undeclared type `Table` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Robot` [INFO] [stdout] --> src/commands.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | let robot = Robot::new(0, 0, DIRECTIONS.get("NORTH").unwrap().clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `Robot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::Robot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIRECTIONS` in this scope [INFO] [stdout] --> src/commands.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | let robot = Robot::new(0, 0, DIRECTIONS.get("NORTH").unwrap().clone()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::DIRECTIONS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `report` in this scope [INFO] [stdout] --> src/commands.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | report(&robot); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 94 + use crate::commands::report; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `execute_command` in this scope [INFO] [stdout] --> src/commands.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | execute_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 94 + use crate::commands::execute_command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Table` [INFO] [stdout] --> src/commands.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | &Table::new(5, 5), [INFO] [stdout] | ^^^^^ use of undeclared type `Table` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> src/commands.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Command::Place { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Command` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 94 + use crate::commands::Command; [INFO] [stdout] | [INFO] [stdout] 94 + use std::process::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIRECTIONS` in this scope [INFO] [stdout] --> src/commands.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | direction: DIRECTIONS.get("EAST").unwrap().clone(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::DIRECTIONS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIRECTIONS` in this scope [INFO] [stdout] --> src/commands.rs:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | assert_eq!(robot.direction, *DIRECTIONS.get("EAST").unwrap()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::DIRECTIONS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `execute_command` in this scope [INFO] [stdout] --> src/commands.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | execute_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 94 + use crate::commands::execute_command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Table` [INFO] [stdout] --> src/commands.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | &Table::new(5, 5), [INFO] [stdout] | ^^^^^ use of undeclared type `Table` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> src/commands.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | Command::Place { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Command` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 94 + use crate::commands::Command; [INFO] [stdout] | [INFO] [stdout] 94 + use std::process::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIRECTIONS` in this scope [INFO] [stdout] --> src/commands.rs:156:28 [INFO] [stdout] | [INFO] [stdout] 156 | direction: DIRECTIONS.get("EAST").unwrap().clone(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 94 + use crate::model::DIRECTIONS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_input` in this scope [INFO] [stdout] --> src/input.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | let command = parse_input(input.to_string()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 65 + use crate::input::parse_input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> src/input.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Command::Place { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Command` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 65 + use crate::input::Command; [INFO] [stdout] | [INFO] [stdout] 65 + use std::process::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model` [INFO] [stdout] --> src/input.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | direction: model::DIRECTIONS.get("NORTH").unwrap().clone(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `model` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 65 + use crate::model; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_input` in this scope [INFO] [stdout] --> src/input.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let result = parse_input(input.to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 65 + use crate::input::parse_input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_input` in this scope [INFO] [stdout] --> src/input.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | let result = parse_input(input.to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 65 + use crate::input::parse_input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_input` in this scope [INFO] [stdout] --> src/input.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | let result = parse_input(input.to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 65 + use crate::input::parse_input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toyrobot-rust` (bin "toyrobot-rust" test) due to 35 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "d28d5da676cf77864adf64721c940e1bae31c2c752faa4fce3f8198f85a1095a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d28d5da676cf77864adf64721c940e1bae31c2c752faa4fce3f8198f85a1095a", kill_on_drop: false }` [INFO] [stdout] d28d5da676cf77864adf64721c940e1bae31c2c752faa4fce3f8198f85a1095a