[INFO] cloning repository https://github.com/aleksanb/fourkay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aleksanb/fourkay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksanb%2Ffourkay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksanb%2Ffourkay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1e535d39c30f4a71e5a67fba38034217717889b [INFO] checking aleksanb/fourkay against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksanb%2Ffourkay" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aleksanb/fourkay on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-8/source/.cargo/config [INFO] started tweaking git repo https://github.com/aleksanb/fourkay [INFO] finished tweaking git repo https://github.com/aleksanb/fourkay [INFO] tweaked toml for git repo https://github.com/aleksanb/fourkay written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/aleksanb/fourkay already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67f81797c70728c62b2a4232f96551569099e30bb5e981813695e551b0e78072 [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" "67f81797c70728c62b2a4232f96551569099e30bb5e981813695e551b0e78072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67f81797c70728c62b2a4232f96551569099e30bb5e981813695e551b0e78072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67f81797c70728c62b2a4232f96551569099e30bb5e981813695e551b0e78072", kill_on_drop: false }` [INFO] [stdout] 67f81797c70728c62b2a4232f96551569099e30bb5e981813695e551b0e78072 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cfe91dd21791c370b4d92facbc06a459b677adcbfed23a3c3390b292e459703 [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" "4cfe91dd21791c370b4d92facbc06a459b677adcbfed23a3c3390b292e459703", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling fourkay v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::$gl_symbol::function as $gl_symbol` [INFO] [stdout] --> src/shitty/gl_wrapper.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) use self::$gl_symbol::function as $gl_symbol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | / gl_function! { [INFO] [stdout] 44 | | fn glGetString(name: GLenum) -> *const GLubyte, [INFO] [stdout] 45 | | fn glShaderSource( [INFO] [stdout] 46 | | shader: GLuint, [INFO] [stdout] ... | [INFO] [stdout] 96 | | fn glRects(x1: GLshort, y1: GLshort, x2: GLshort, y2: GLshort) -> () [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/shitty/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Xlib_constants`, `Xlib`, `glx` [INFO] [stdout] --> src/programs/quad.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bindings::{gl, glx, Xlib, Xlib_constants}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println::*` [INFO] [stdout] --> src/programs/quad.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::shitty::{gl_utils, gl_wrapper, println::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/programs/quad.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic::PanicInfo` [INFO] [stdout] --> src/programs/quad.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/programs/quad.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Xlib_constants`, `Xlib`, `glx` [INFO] [stdout] --> src/programs/raymarcher.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bindings::{gl, glx, Xlib, Xlib_constants}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic::PanicInfo` [INFO] [stdout] --> src/programs/raymarcher.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/programs/raymarcher.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | ///let mut kaleidoscope_shader = programs::Quad::new(BALLS_FRAGMENT_SHADER, VERTEX_SHADER)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 279 | //let mut flower_shader = programs::Quad::new(FLOWERS_FRAGMENT_SHADER, VERTEX_SHADER)?; [INFO] [stdout] 280 | let mut blobby_shader = programs::Quad::new(SOLID_FRAGMENT_SHADER, VERTEX_SHADER)?; [INFO] [stdout] | ----------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | println!("Color map: %lu\n\0", color_map); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | println!("Window: %lu\n\0", window); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | let _net_wm_state_atom = intern_atom!(display, _NET_WM_STATE); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:190:45 [INFO] [stdout] | [INFO] [stdout] 190 | let _net_wm_state_fullscreen_atom = intern_atom!(display, _NET_WM_STATE_FULLSCREEN); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | let _net_wm_allowed_atom = intern_atom!(display, _NET_WM_ALLOWED_ACTIONS); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:193:46 [INFO] [stdout] | [INFO] [stdout] 193 | let _net_wm_action_fullscreen_atom = intern_atom!(display, _NET_WM_ACTION_FULLSCREEN); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let wm_a_atom = intern_atom!(display, ATOM); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/shitty/gl_utils.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | return Ok(shader_id); [INFO] [stdout] | -------------------- any code following this expression is unreachable [INFO] [stdout] 24 | [INFO] [stdout] 25 | / let shader_id = gl_wrapper::glCreateShader(match shader_type { [INFO] [stdout] 26 | | ShaderType::VertexShader(_) => gl::GL_VERTEX_SHADER, [INFO] [stdout] 27 | | ShaderType::FragmentShader(_) => gl::GL_FRAGMENT_SHADER, [INFO] [stdout] 28 | | }); [INFO] [stdout] | |_______^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fourkay` [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] warning: unused import: `self::$gl_symbol::function as $gl_symbol` [INFO] [stdout] --> src/shitty/gl_wrapper.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) use self::$gl_symbol::function as $gl_symbol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | / gl_function! { [INFO] [stdout] 44 | | fn glGetString(name: GLenum) -> *const GLubyte, [INFO] [stdout] 45 | | fn glShaderSource( [INFO] [stdout] 46 | | shader: GLuint, [INFO] [stdout] ... | [INFO] [stdout] 96 | | fn glRects(x1: GLshort, y1: GLshort, x2: GLshort, y2: GLshort) -> () [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/shitty/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Xlib_constants`, `Xlib`, `glx` [INFO] [stdout] --> src/programs/quad.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bindings::{gl, glx, Xlib, Xlib_constants}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println::*` [INFO] [stdout] --> src/programs/quad.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::shitty::{gl_utils, gl_wrapper, println::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/programs/quad.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic::PanicInfo` [INFO] [stdout] --> src/programs/quad.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/programs/quad.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Xlib_constants`, `Xlib`, `glx` [INFO] [stdout] --> src/programs/raymarcher.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bindings::{gl, glx, Xlib, Xlib_constants}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic::PanicInfo` [INFO] [stdout] --> src/programs/raymarcher.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/programs/raymarcher.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | ///let mut kaleidoscope_shader = programs::Quad::new(BALLS_FRAGMENT_SHADER, VERTEX_SHADER)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 279 | //let mut flower_shader = programs::Quad::new(FLOWERS_FRAGMENT_SHADER, VERTEX_SHADER)?; [INFO] [stdout] 280 | let mut blobby_shader = programs::Quad::new(SOLID_FRAGMENT_SHADER, VERTEX_SHADER)?; [INFO] [stdout] | ----------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | println!("Color map: %lu\n\0", color_map); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | println!("Window: %lu\n\0", window); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | let _net_wm_state_atom = intern_atom!(display, _NET_WM_STATE); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:190:45 [INFO] [stdout] | [INFO] [stdout] 190 | let _net_wm_state_fullscreen_atom = intern_atom!(display, _NET_WM_STATE_FULLSCREEN); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | let _net_wm_allowed_atom = intern_atom!(display, _NET_WM_ALLOWED_ACTIONS); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:193:46 [INFO] [stdout] | [INFO] [stdout] 193 | let _net_wm_action_fullscreen_atom = intern_atom!(display, _NET_WM_ACTION_FULLSCREEN); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `prepare` found for type `u64` in the current scope [INFO] [stdout] --> src/shitty/println.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | $args.prepare(), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let wm_a_atom = intern_atom!(display, ATOM); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `println::Prepare` defines an item `prepare`, perhaps you need to implement it [INFO] [stdout] --> src/shitty/println.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Prepare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/shitty/gl_utils.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | return Ok(shader_id); [INFO] [stdout] | -------------------- any code following this expression is unreachable [INFO] [stdout] 24 | [INFO] [stdout] 25 | / let shader_id = gl_wrapper::glCreateShader(match shader_type { [INFO] [stdout] 26 | | ShaderType::VertexShader(_) => gl::GL_VERTEX_SHADER, [INFO] [stdout] 27 | | ShaderType::FragmentShader(_) => gl::GL_FRAGMENT_SHADER, [INFO] [stdout] 28 | | }); [INFO] [stdout] | |_______^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4cfe91dd21791c370b4d92facbc06a459b677adcbfed23a3c3390b292e459703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cfe91dd21791c370b4d92facbc06a459b677adcbfed23a3c3390b292e459703", kill_on_drop: false }` [INFO] [stdout] 4cfe91dd21791c370b4d92facbc06a459b677adcbfed23a3c3390b292e459703