[INFO] cloning repository https://github.com/Lokathor/bohrium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lokathor/bohrium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLokathor%2Fbohrium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLokathor%2Fbohrium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b52217cc8b8017f6fc84b617c16505abbb790962 [INFO] checking Lokathor/bohrium against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLokathor%2Fbohrium" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lokathor/bohrium on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lokathor/bohrium [INFO] finished tweaking git repo https://github.com/Lokathor/bohrium [INFO] tweaked toml for git repo https://github.com/Lokathor/bohrium written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Lokathor/bohrium already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8d99d267103ab5ee7f9e6fa1ee1e38a2621c335df3c706f7a36b6865f713e9a5 [INFO] running `Command { std: "docker" "start" "-a" "8d99d267103ab5ee7f9e6fa1ee1e38a2621c335df3c706f7a36b6865f713e9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d99d267103ab5ee7f9e6fa1ee1e38a2621c335df3c706f7a36b6865f713e9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d99d267103ab5ee7f9e6fa1ee1e38a2621c335df3c706f7a36b6865f713e9a5", kill_on_drop: false }` [INFO] [stdout] 8d99d267103ab5ee7f9e6fa1ee1e38a2621c335df3c706f7a36b6865f713e9a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73dffd9c16bd7c8bde6d5fe291692fa63acd6c9ae9d563fc181bb2255126211c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "73dffd9c16bd7c8bde6d5fe291692fa63acd6c9ae9d563fc181bb2255126211c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling fermium v200.12.0-alpha.2 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking chlorine v1.0.2 [INFO] [stderr] Checking ogl33 v0.2.0 [INFO] [stderr] Checking bohrium v0.0.1-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0659]: `Window` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/sdl/window/gl_window.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | win: ManuallyDrop, [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `Window` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Window` to disambiguate [INFO] [stdout] note: `Window` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub use base_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Window` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Window` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/sdl/window/gl_window.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | type Target = Window; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `Window` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Window` to disambiguate [INFO] [stdout] note: `Window` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub use base_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Window` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Window` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/sdl/window/gl_window.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | fn deref(&self) -> &Window { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `Window` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Window` to disambiguate [INFO] [stdout] note: `Window` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub use base_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Window` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Window` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/sdl/window/gl_window.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | win: ManuallyDrop, [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `Window` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Window` to disambiguate [INFO] [stdout] note: `Window` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub use base_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Window` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Window` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/sdl/window/gl_window.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | type Target = Window; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `Window` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Window` to disambiguate [INFO] [stdout] note: `Window` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub use base_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Window` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Window` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/sdl/window/gl_window.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | fn deref(&self) -> &Window { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `Window` could refer to the type alias imported here [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Window` to disambiguate [INFO] [stdout] note: `Window` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub use base_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Window` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sdl/error.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sdl/error.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sdl/error.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sdl/error.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sdl/window/base_window.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | if !WINDOW_EXISTS.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sdl/window/base_window.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | if !WINDOW_EXISTS.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::mem::ManuallyDrop` [INFO] [stdout] --> src/sdl/window/gl_window.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { SDL_GL_SwapWindow(self.win.ptr) } [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::mem::ManuallyDrop` [INFO] [stdout] --> src/sdl/window/gl_window.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe { SDL_GL_GetDrawableSize(self.win.ptr, &mut w, &mut h) } [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sdl/window/gl_window.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(GlWindow { win, ctx }) [INFO] [stdout] | ^^^ expected `u64`, found struct `base_window::Window` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::mem::ManuallyDrop` [INFO] [stdout] found struct `std::mem::ManuallyDrop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sdl/error.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | while !ERR_IN_USE.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sdl/error.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | while !ERR_IN_USE.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bohrium` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0609]: no field `ptr` on type `std::mem::ManuallyDrop` [INFO] [stdout] --> src/sdl/window/gl_window.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { SDL_GL_SwapWindow(self.win.ptr) } [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ptr` on type `std::mem::ManuallyDrop` [INFO] [stdout] --> src/sdl/window/gl_window.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe { SDL_GL_GetDrawableSize(self.win.ptr, &mut w, &mut h) } [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sdl/window/gl_window.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(GlWindow { win, ctx }) [INFO] [stdout] | ^^^ expected `u64`, found struct `base_window::Window` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::mem::ManuallyDrop` [INFO] [stdout] found struct `std::mem::ManuallyDrop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sdl/error.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | while !ERR_IN_USE.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sdl/error.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | while !ERR_IN_USE.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "73dffd9c16bd7c8bde6d5fe291692fa63acd6c9ae9d563fc181bb2255126211c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73dffd9c16bd7c8bde6d5fe291692fa63acd6c9ae9d563fc181bb2255126211c", kill_on_drop: false }` [INFO] [stdout] 73dffd9c16bd7c8bde6d5fe291692fa63acd6c9ae9d563fc181bb2255126211c