[INFO] cloning repository https://github.com/DanielMowitz/U4x [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielMowitz/U4x" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielMowitz%2FU4x", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielMowitz%2FU4x'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b924d38cd88178ce05b1de5c6d5ea0b64aaf12b0 [INFO] checking DanielMowitz/U4x/b924d38cd88178ce05b1de5c6d5ea0b64aaf12b0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielMowitz%2FU4x" "/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/DanielMowitz/U4x on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanielMowitz/U4x [INFO] finished tweaking git repo https://github.com/DanielMowitz/U4x [INFO] tweaked toml for git repo https://github.com/DanielMowitz/U4x written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DanielMowitz/U4x 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_os v0.1.2 [INFO] [stderr] Downloaded sdl2 v0.32.1 [INFO] [stderr] Downloaded sdl2-sys v0.32.5 [INFO] [stderr] Downloaded libc v0.2.49 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f56b6cd73e1bd3671a08abf6305ddc9a9ee6b0a64ac53e27c4347592847fe8ba [INFO] running `Command { std: "docker" "start" "-a" "f56b6cd73e1bd3671a08abf6305ddc9a9ee6b0a64ac53e27c4347592847fe8ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f56b6cd73e1bd3671a08abf6305ddc9a9ee6b0a64ac53e27c4347592847fe8ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f56b6cd73e1bd3671a08abf6305ddc9a9ee6b0a64ac53e27c4347592847fe8ba", kill_on_drop: false }` [INFO] [stdout] f56b6cd73e1bd3671a08abf6305ddc9a9ee6b0a64ac53e27c4347592847fe8ba [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5438cb8d797db9c024f50b8e7db03b45c61bac9da161f44725624dd2ed7ae3c5 [INFO] running `Command { std: "docker" "start" "-a" "5438cb8d797db9c024f50b8e7db03b45c61bac9da161f44725624dd2ed7ae3c5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.32.1 [INFO] [stderr] Checking frame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the `#[test]` attribute may only be used on a non-associated function [INFO] [stdout] --> src/renderer.rs:83:2 [INFO] [stdout] | [INFO] [stdout] 83 | #[test] [INFO] [stdout] | ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions [INFO] [stdout] | [INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(test)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_object::TestObj` [INFO] [stdout] --> src/tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use test_object::TestObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `TestObj` in `test_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/tests.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | let mut test_button = Button::new( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 138 | button_sprite, [INFO] [stdout] 139 | (0, 0), [INFO] [stdout] | ------ unexpected argument #2 of type `({integer}, {integer})` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/button.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(sprite: Sprite, click_fn: Box MenuSubAction>) -> Self { [INFO] [stdout] | ^^^ -------------- ------------------------------------ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 138 - button_sprite, [INFO] [stdout] 139 - (0, 0), [INFO] [stdout] 138 + button_sprite, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `main_menu` [INFO] [stdout] --> src/bin.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod main_menu; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `main_menu`, create file "src/main_menu.rs" or "src/main_menu/mod.rs" [INFO] [stdout] = note: if there is a `mod main_menu` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `space_ship` [INFO] [stdout] --> src/bin.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod space_ship; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `space_ship`, create file "src/space_ship.rs" or "src/space_ship/mod.rs" [INFO] [stdout] = note: if there is a `mod space_ship` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `light_path` [INFO] [stdout] --> src/bin.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod light_path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `light_path`, create file "src/light_path.rs" or "src/light_path/mod.rs" [INFO] [stdout] = note: if there is a `mod light_path` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `main_menu` [INFO] [stdout] --> src/bin.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod main_menu; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `main_menu`, create file "src/main_menu.rs" or "src/main_menu/mod.rs" [INFO] [stdout] = note: if there is a `mod main_menu` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `space_ship` [INFO] [stdout] --> src/bin.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod space_ship; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `space_ship`, create file "src/space_ship.rs" or "src/space_ship/mod.rs" [INFO] [stdout] = note: if there is a `mod space_ship` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `light_path` [INFO] [stdout] --> src/bin.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod light_path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `light_path`, create file "src/light_path.rs" or "src/light_path/mod.rs" [INFO] [stdout] = note: if there is a `mod light_path` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `frame` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `Spaceship` in `space_ship` [INFO] [stdout] --> src/bin.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let mut ship = space_ship::Spaceship::new(); [INFO] [stdout] | ^^^^^^^^^ could not find `Spaceship` in `space_ship` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MainMenu` in `main_menu` [INFO] [stdout] --> src/bin.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | let mut menu = main_menu::MainMenu::new(); [INFO] [stdout] | ^^^^^^^^ could not find `MainMenu` in `main_menu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Spaceship` in `space_ship` [INFO] [stdout] --> src/bin.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let mut ship = space_ship::Spaceship::new(); [INFO] [stdout] | ^^^^^^^^^ could not find `Spaceship` in `space_ship` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MainMenu` in `main_menu` [INFO] [stdout] --> src/bin.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | let mut menu = main_menu::MainMenu::new(); [INFO] [stdout] | ^^^^^^^^ could not find `MainMenu` in `main_menu` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `frame` (bin "viewer") due to 5 previous errors [INFO] [stdout] Some errors have detailed explanations: E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `frame` (bin "viewer" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "5438cb8d797db9c024f50b8e7db03b45c61bac9da161f44725624dd2ed7ae3c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5438cb8d797db9c024f50b8e7db03b45c61bac9da161f44725624dd2ed7ae3c5", kill_on_drop: false }` [INFO] [stdout] 5438cb8d797db9c024f50b8e7db03b45c61bac9da161f44725624dd2ed7ae3c5