[INFO] cloning repository https://github.com/jo12bar/triangle-from-scratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jo12bar/triangle-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo12bar%2Ftriangle-from-scratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo12bar%2Ftriangle-from-scratch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f60e1892dbcc0cfa346ddc9aa2ab35e816c41b2 [INFO] checking jo12bar/triangle-from-scratch against try#26ad8a85dc4eed299af809e52f278da81e284602 for pr-138458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo12bar%2Ftriangle-from-scratch" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jo12bar/triangle-from-scratch on toolchain 26ad8a85dc4eed299af809e52f278da81e284602 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jo12bar/triangle-from-scratch [INFO] finished tweaking git repo https://github.com/jo12bar/triangle-from-scratch [INFO] tweaked toml for git repo https://github.com/jo12bar/triangle-from-scratch written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jo12bar/triangle-from-scratch 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" "+26ad8a85dc4eed299af809e52f278da81e284602" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78f78efa4d2ab73d2eef79e2f6f7246b7393eacf8755b4d5a580c8f90404e9af [INFO] running `Command { std: "docker" "start" "-a" "78f78efa4d2ab73d2eef79e2f6f7246b7393eacf8755b4d5a580c8f90404e9af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78f78efa4d2ab73d2eef79e2f6f7246b7393eacf8755b4d5a580c8f90404e9af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f78efa4d2ab73d2eef79e2f6f7246b7393eacf8755b4d5a580c8f90404e9af", kill_on_drop: false }` [INFO] [stdout] 78f78efa4d2ab73d2eef79e2f6f7246b7393eacf8755b4d5a580c8f90404e9af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 290e25748c324a54a34da27edb850c1b13041d796cc4de299e70b95d5ba4934c [INFO] running `Command { std: "docker" "start" "-a" "290e25748c324a54a34da27edb850c1b13041d796cc4de299e70b95d5ba4934c", kill_on_drop: false }` [INFO] [stderr] Checking triangle-from-scratch-c-types v0.1.0 (/opt/rustwide/workdir/crates/c-types) [INFO] [stderr] Checking triangle-from-scratch-gl v0.1.0 (/opt/rustwide/workdir/crates/gl) [INFO] [stderr] Checking triangle-from-scratch-win32 v0.1.0 (/opt/rustwide/workdir/crates/win32) [INFO] [stderr] Checking triangle-from-scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> examples/win32_window_standalone.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | unsafe_impl_default_zeroed! { WNDCLASSW } [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_default_zeroed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> examples/win32_window_standalone.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | unsafe_impl_default_zeroed! { CREATESTRUCTW } [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_default_zeroed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> examples/win32_window_standalone.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | unsafe_impl_default_zeroed! { PAINTSTRUCT } [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_default_zeroed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> examples/win32_window_standalone.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | unsafe_impl_default_zeroed! { POINT } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_default_zeroed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> examples/win32_window_standalone.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | unsafe_impl_default_zeroed! { RECT } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_default_zeroed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> examples/win32_window_standalone.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | unsafe_impl_default_zeroed! { MSG } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_default_zeroed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `win32::c_str`, `win32::create_app_window`, `win32::describe_pixel_format`, `win32::do_wgl_choose_pixel_format_arb`, `win32::do_wgl_create_context_attribs_arb`, `win32::get_any_message`, `win32::get_dc`, `win32::get_process_handle`, `win32::get_wgl_basics`, `win32::get_window_userdata`, `win32::load_library`, `win32::load_predefined_cursor`, `win32::post_quit_message`, `win32::prelude`, `win32::register_class`, `win32::release_dc`, `win32::set_pixel_format`, `win32::set_window_userdata`, `win32::translate_message`, `win32::utf16_null`, `win32::wgl_delete_context`, `win32::wgl_make_current` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | c_str, create_app_window, describe_pixel_format, do_wgl_choose_pixel_format_arb, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `do_wgl_choose_pixel_format_arb` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `describe_pixel_format` in the root [INFO] [stdout] | | no `create_app_window` in the root [INFO] [stdout] | no `c_str` in the root [INFO] [stdout] 18 | do_wgl_create_context_attribs_arb, get_any_message, get_dc, get_process_handle, get_wgl_basics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `get_wgl_basics` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `get_process_handle` in the root [INFO] [stdout] | | | no `get_dc` in the root [INFO] [stdout] | | no `get_any_message` in the root [INFO] [stdout] | no `do_wgl_create_context_attribs_arb` in the root [INFO] [stdout] 19 | get_window_userdata, load_library, load_predefined_cursor, post_quit_message, prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `get_window_userdata` in the root [INFO] [stdout] 20 | register_class, release_dc, set_pixel_format, set_window_userdata, translate_message, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | utf16_null, wgl_delete_context, wgl_make_current, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] std::ffi::c_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> examples/win32_window_standalone.rs:799:13 [INFO] [stdout] | [INFO] [stdout] 799 | Box::from_raw(ptr); // by not saving the box, it immediately gets dropped and the [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 799 | let _ = Box::from_raw(ptr); // by not saving the box, it immediately gets dropped and the [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `win32::c_str`, `win32::create_app_window`, `win32::describe_pixel_format`, `win32::do_wgl_choose_pixel_format_arb`, `win32::do_wgl_create_context_attribs_arb`, `win32::get_any_message`, `win32::get_dc`, `win32::get_process_handle`, `win32::get_wgl_basics`, `win32::get_window_userdata`, `win32::load_library`, `win32::load_predefined_cursor`, `win32::post_quit_message`, `win32::prelude`, `win32::register_class`, `win32::release_dc`, `win32::set_pixel_format`, `win32::set_window_userdata`, `win32::translate_message`, `win32::utf16_null`, `win32::wgl_delete_context`, `win32::wgl_make_current` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | c_str, create_app_window, describe_pixel_format, do_wgl_choose_pixel_format_arb, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `do_wgl_choose_pixel_format_arb` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `describe_pixel_format` in the root [INFO] [stdout] | | no `create_app_window` in the root [INFO] [stdout] | no `c_str` in the root [INFO] [stdout] 18 | do_wgl_create_context_attribs_arb, get_any_message, get_dc, get_process_handle, get_wgl_basics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `get_wgl_basics` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `get_process_handle` in the root [INFO] [stdout] | | | no `get_dc` in the root [INFO] [stdout] | | no `get_any_message` in the root [INFO] [stdout] | no `do_wgl_create_context_attribs_arb` in the root [INFO] [stdout] 19 | get_window_userdata, load_library, load_predefined_cursor, post_quit_message, prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `get_window_userdata` in the root [INFO] [stdout] 20 | register_class, release_dc, set_pixel_format, set_window_userdata, translate_message, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | utf16_null, wgl_delete_context, wgl_make_current, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] std::ffi::c_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `lib_opengl32` on type `Box<_>` [INFO] [stdout] --> src/main.rs:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | FreeLibrary(window_data.lib_opengl32); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `lib_opengl32` on type `Box<_>` [INFO] [stdout] --> src/main.rs:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | FreeLibrary(window_data.lib_opengl32); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `triangle-from-scratch` (bin "triangle-from-scratch") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `triangle-from-scratch` (bin "triangle-from-scratch" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "290e25748c324a54a34da27edb850c1b13041d796cc4de299e70b95d5ba4934c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "290e25748c324a54a34da27edb850c1b13041d796cc4de299e70b95d5ba4934c", kill_on_drop: false }` [INFO] [stdout] 290e25748c324a54a34da27edb850c1b13041d796cc4de299e70b95d5ba4934c