[INFO] cloning repository https://github.com/nikklassen/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikklassen/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikklassen%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikklassen%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71745284d71d0d6fce1cba64bdf28c71cf3de30a [INFO] checking nikklassen/raytracer against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikklassen%2Fraytracer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikklassen/raytracer on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nikklassen/raytracer [INFO] finished tweaking git repo https://github.com/nikklassen/raytracer [INFO] tweaked toml for git repo https://github.com/nikklassen/raytracer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nikklassen/raytracer 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de6624be886f0a3601635ec897c838808dab11284edc26781da9803800a0473e [INFO] running `Command { std: "docker" "start" "-a" "de6624be886f0a3601635ec897c838808dab11284edc26781da9803800a0473e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de6624be886f0a3601635ec897c838808dab11284edc26781da9803800a0473e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de6624be886f0a3601635ec897c838808dab11284edc26781da9803800a0473e", kill_on_drop: false }` [INFO] [stdout] de6624be886f0a3601635ec897c838808dab11284edc26781da9803800a0473e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7615653715f86d22c67665e5a2e59d4e9ba7b643f986e57cb6013ceae635a81b [INFO] running `Command { std: "docker" "start" "-a" "7615653715f86d22c67665e5a2e59d4e9ba7b643f986e57cb6013ceae635a81b", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking lazy_static v0.2.10 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling gdi32-sys v0.2.0 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking rayon v0.9.0 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:100:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:100:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gdi32::StretchDIBits` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use gdi32::StretchDIBits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `StretchDIBits` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gdi32::StretchDIBits` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use gdi32::StretchDIBits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `StretchDIBits` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::c_int`, `winapi::c_void`, `winapi::BITMAPINFO`, `winapi::BITMAPINFOHEADER`, `winapi::BI_RGB`, `winapi::DIB_RGB_COLORS`, `winapi::HDC`, `winapi::HWND`, `winapi::PAINTSTRUCT`, `winapi::SRCCOPY` [INFO] [stdout] --> src/main.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::{c_int, c_void, BITMAPINFO, BITMAPINFOHEADER, BI_RGB, DIB_RGB_COLORS, HDC, HWND, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^ no `HWND` in the root [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | no `HDC` in the root [INFO] [stdout] | | | | | | no `DIB_RGB_COLORS` in the root [INFO] [stdout] | | | | | no `BI_RGB` in the root [INFO] [stdout] | | | | no `BITMAPINFOHEADER` in the root [INFO] [stdout] | | | no `BITMAPINFO` in the root [INFO] [stdout] | | no `c_void` in the root [INFO] [stdout] | no `c_int` in the root [INFO] [stdout] 21 | PAINTSTRUCT, SRCCOPY}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ no `SRCCOPY` in the root [INFO] [stdout] | | [INFO] [stdout] | no `PAINTSTRUCT` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::ffi::c_int [INFO] [stdout] std::os::raw::c_int [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::ffi::c_void [INFO] [stdout] std::os::raw::c_void [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::minwindef::{LPARAM, LRESULT, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::c_int`, `winapi::c_void`, `winapi::BITMAPINFO`, `winapi::BITMAPINFOHEADER`, `winapi::BI_RGB`, `winapi::DIB_RGB_COLORS`, `winapi::HDC`, `winapi::HWND`, `winapi::PAINTSTRUCT`, `winapi::SRCCOPY` [INFO] [stdout] --> src/main.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::{c_int, c_void, BITMAPINFO, BITMAPINFOHEADER, BI_RGB, DIB_RGB_COLORS, HDC, HWND, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ ^^^ ^^^^ no `HWND` in the root [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | no `HDC` in the root [INFO] [stdout] | | | | | | no `DIB_RGB_COLORS` in the root [INFO] [stdout] | | | | | no `BI_RGB` in the root [INFO] [stdout] | | | | no `BITMAPINFOHEADER` in the root [INFO] [stdout] | | | no `BITMAPINFO` in the root [INFO] [stdout] | | no `c_void` in the root [INFO] [stdout] | no `c_int` in the root [INFO] [stdout] 21 | PAINTSTRUCT, SRCCOPY}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ no `SRCCOPY` in the root [INFO] [stdout] | | [INFO] [stdout] | no `PAINTSTRUCT` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::ffi::c_int [INFO] [stdout] std::os::raw::c_int [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::ffi::c_void [INFO] [stdout] std::os::raw::c_void [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::winuser` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::winuser::{CS_HREDRAW, CS_OWNDC, CS_VREDRAW, CW_USEDEFAULT, MSG, WM_PAINT, WNDCLASSW, [INFO] [stdout] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::minwindef::{LPARAM, LRESULT, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::winuser` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::winuser::{CS_HREDRAW, CS_OWNDC, CS_VREDRAW, CW_USEDEFAULT, MSG, WM_PAINT, WNDCLASSW, [INFO] [stdout] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `user32::BeginPaint`, `user32::CreateWindowExW`, `user32::DefWindowProcW`, `user32::DispatchMessageW`, `user32::EndPaint`, `user32::GetMessageW`, `user32::RegisterClassW`, `user32::TranslateMessage`, `user32::InvalidateRect` [INFO] [stdout] --> src/main.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | use user32::{BeginPaint, CreateWindowExW, DefWindowProcW, DispatchMessageW, EndPaint, GetMessageW, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ no `GetMessageW` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `EndPaint` in the root [INFO] [stdout] | | | | no `DispatchMessageW` in the root [INFO] [stdout] | | | no `DefWindowProcW` in the root [INFO] [stdout] | | no `CreateWindowExW` in the root [INFO] [stdout] | no `BeginPaint` in the root [INFO] [stdout] 26 | RegisterClassW, TranslateMessage, InvalidateRect}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `InvalidateRect` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `TranslateMessage` in the root [INFO] [stdout] | no `RegisterClassW` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kernel32::GetModuleHandleW` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use kernel32::GetModuleHandleW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GetModuleHandleW` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `user32::BeginPaint`, `user32::CreateWindowExW`, `user32::DefWindowProcW`, `user32::DispatchMessageW`, `user32::EndPaint`, `user32::GetMessageW`, `user32::RegisterClassW`, `user32::TranslateMessage`, `user32::InvalidateRect` [INFO] [stdout] --> src/main.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | use user32::{BeginPaint, CreateWindowExW, DefWindowProcW, DispatchMessageW, EndPaint, GetMessageW, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ no `GetMessageW` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `EndPaint` in the root [INFO] [stdout] | | | | no `DispatchMessageW` in the root [INFO] [stdout] | | | no `DefWindowProcW` in the root [INFO] [stdout] | | no `CreateWindowExW` in the root [INFO] [stdout] | no `BeginPaint` in the root [INFO] [stdout] 26 | RegisterClassW, TranslateMessage, InvalidateRect}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `InvalidateRect` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `TranslateMessage` in the root [INFO] [stdout] | no `RegisterClassW` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kernel32::GetModuleHandleW` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use kernel32::GetModuleHandleW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GetModuleHandleW` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | OsStr::new(value).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | OsStr::new(value).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:160:70 [INFO] [stdout] | [INFO] [stdout] 35 | struct Window { [INFO] [stdout] | ------------- doesn't satisfy `Window: Sized` [INFO] [stdout] ... [INFO] [stdout] 160 | let mut window = create_window("my_window", "Simple Ray Tracer").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Window: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:160:70 [INFO] [stdout] | [INFO] [stdout] 35 | struct Window { [INFO] [stdout] | ------------- doesn't satisfy `Window: Sized` [INFO] [stdout] ... [INFO] [stdout] 160 | let mut window = create_window("my_window", "Simple Ray Tracer").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Window: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "7615653715f86d22c67665e5a2e59d4e9ba7b643f986e57cb6013ceae635a81b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7615653715f86d22c67665e5a2e59d4e9ba7b643f986e57cb6013ceae635a81b", kill_on_drop: false }` [INFO] [stdout] 7615653715f86d22c67665e5a2e59d4e9ba7b643f986e57cb6013ceae635a81b