[INFO] cloning repository https://github.com/dvnDC/langtons_ant [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dvnDC/langtons_ant" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdvnDC%2Flangtons_ant", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdvnDC%2Flangtons_ant'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a4f13f5b6a6e0cdf053845b0f9a913d3f4176ee [INFO] checking dvnDC/langtons_ant against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdvnDC%2Flangtons_ant" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/dvnDC/langtons_ant [INFO] finished tweaking git repo https://github.com/dvnDC/langtons_ant [INFO] tweaked toml for git repo https://github.com/dvnDC/langtons_ant written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dvnDC/langtons_ant on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dvnDC/langtons_ant 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.0.10 [INFO] [stderr] Downloaded sdl2 v0.34.5 [INFO] [stderr] Downloaded libc v0.2.150 [INFO] [stderr] Downloaded sdl2-sys v0.34.5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 283e92694befd8b38e2f34625e362ac758c6f57e8aebadac6931e72be4d3081b [INFO] running `Command { std: "docker" "start" "-a" "283e92694befd8b38e2f34625e362ac758c6f57e8aebadac6931e72be4d3081b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "283e92694befd8b38e2f34625e362ac758c6f57e8aebadac6931e72be4d3081b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "283e92694befd8b38e2f34625e362ac758c6f57e8aebadac6931e72be4d3081b", kill_on_drop: false }` [INFO] [stdout] 283e92694befd8b38e2f34625e362ac758c6f57e8aebadac6931e72be4d3081b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0eca258a8df7a6d6b43540e6d525855c281d313b88aea7687644c1ee0369eccf [INFO] running `Command { std: "docker" "start" "-a" "0eca258a8df7a6d6b43540e6d525855c281d313b88aea7687644c1ee0369eccf", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Checking untitled v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/hexagon.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::rect::Point; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/hexagon.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::rect::Point; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/hexagon.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::render::Canvas; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/hexagon.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::render::Canvas; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/hexagon.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::video::Window; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/hexagon.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::video::Window; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/hexagon.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::pixels::Color as SdlColor; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/hexagon.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::pixels::Color as SdlColor; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::event::Event; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::event::Event; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::rect::Point; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::render::Canvas; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::video::Window; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::rect::Point; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/color.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::pixels::Color as SdlColor; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::render::Canvas; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::video::Window; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/color.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::pixels::Color as SdlColor; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::f64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/engine/menu.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, Read}, process}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rotation::Rotation` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rotation::Rotation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::menu` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::engine::menu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::f64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/engine/menu.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{self, Read}, process}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rotation::Rotation` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rotation::Rotation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::menu` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::engine::menu; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/main.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | let sdl_context = sdl2::init().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `untitled` (bin "untitled") due to 11 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] --> src/main.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | let sdl_context = sdl2::init().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sdl2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sdl2`, use `cargo add sdl2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `untitled` (bin "untitled" test) due to 11 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0eca258a8df7a6d6b43540e6d525855c281d313b88aea7687644c1ee0369eccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eca258a8df7a6d6b43540e6d525855c281d313b88aea7687644c1ee0369eccf", kill_on_drop: false }` [INFO] [stdout] 0eca258a8df7a6d6b43540e6d525855c281d313b88aea7687644c1ee0369eccf