[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] testing aleksanb/fourkay against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksanb%2Ffourkay" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aleksanb/fourkay on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/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-3/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1daf643e07fee39dc277923bd4ae72bae484b5cf23b0bbed45e3359339cc5d7 [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" "d1daf643e07fee39dc277923bd4ae72bae484b5cf23b0bbed45e3359339cc5d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1daf643e07fee39dc277923bd4ae72bae484b5cf23b0bbed45e3359339cc5d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1daf643e07fee39dc277923bd4ae72bae484b5cf23b0bbed45e3359339cc5d7", kill_on_drop: false }` [INFO] [stdout] d1daf643e07fee39dc277923bd4ae72bae484b5cf23b0bbed45e3359339cc5d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", 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] a49f42f9c8cacd98a4216826b68818a4658ba87acc502b5448b552e1a4a296eb [INFO] running `Command { std: "docker" "start" "-a" "a49f42f9c8cacd98a4216826b68818a4658ba87acc502b5448b552e1a4a296eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling fourkay v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items, start, raw_ref_op)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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 the macro `gl_function` (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] = help: use `//` for a plain comment [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[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 the macro `println` (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 the macro `println` (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 the macro `println` (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 the macro `println` (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 the macro `println` (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 the macro `println` (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 the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fourkay` due to 9 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a49f42f9c8cacd98a4216826b68818a4658ba87acc502b5448b552e1a4a296eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a49f42f9c8cacd98a4216826b68818a4658ba87acc502b5448b552e1a4a296eb", kill_on_drop: false }` [INFO] [stdout] a49f42f9c8cacd98a4216826b68818a4658ba87acc502b5448b552e1a4a296eb