[INFO] fetching crate optimisticpeach-opengles_graphics 0.1.4... [INFO] testing optimisticpeach-opengles_graphics-0.1.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate optimisticpeach-opengles_graphics 0.1.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate optimisticpeach-opengles_graphics 0.1.4 [INFO] finished tweaking crates.io crate optimisticpeach-opengles_graphics 0.1.4 [INFO] tweaked toml for crates.io crate optimisticpeach-opengles_graphics 0.1.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate optimisticpeach-opengles_graphics 0.1.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] [stderr] Adding gl_generator v0.5.5 (available: v0.14.0) [INFO] [stderr] Adding image v0.12.4 (available: v0.25.7) [INFO] [stderr] Adding khronos_api v0.0.8 (available: v3.1.0) [INFO] [stderr] Adding piston v0.31.4 (available: v1.0.0) [INFO] [stderr] Adding piston-texture v0.5.0 (available: v0.9.0) [INFO] [stderr] Adding piston2d-graphics v0.28.0 (available: v0.45.0) [INFO] [stderr] Adding pistoncore-sdl2_window v0.40.0 (available: v0.71.0) [INFO] [stderr] Adding rusttype v0.7.9 (available: v0.9.3) [INFO] [stderr] Adding shader_version v0.2.2 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23ea62994d1d62107c1316551c3b7ba47364f76fa8dad96b86a7d15010fa898f [INFO] running `Command { std: "docker" "start" "-a" "23ea62994d1d62107c1316551c3b7ba47364f76fa8dad96b86a7d15010fa898f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23ea62994d1d62107c1316551c3b7ba47364f76fa8dad96b86a7d15010fa898f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23ea62994d1d62107c1316551c3b7ba47364f76fa8dad96b86a7d15010fa898f", kill_on_drop: false }` [INFO] [stdout] 23ea62994d1d62107c1316551c3b7ba47364f76fa8dad96b86a7d15010fa898f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76f312dff9e348db15902d9e2171e129974e05313d44ba70160e8bf85d78eecb [INFO] running `Command { std: "docker" "start" "-a" "76f312dff9e348db15902d9e2171e129974e05313d44ba70160e8bf85d78eecb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling khronos_api v0.0.8 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling piston-viewport v0.5.0 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling shader_version v0.2.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling shaders_graphics2d_gles v0.2.0 [INFO] [stderr] Compiling piston-texture v0.5.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling piston2d-graphics v0.28.0 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling optimisticpeach-opengles_graphics v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling image v0.12.4 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gl.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/back_end.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | where F: FnMut(&mut FnMut(&[[f32; 2]])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 323 | where F: FnMut(&mut dyn FnMut(&[[f32; 2]])) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/back_end.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 363 | where F: FnMut(&mut FnMut(&[[f32; 2]], &[[f32; 2]])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 363 | where F: FnMut(&mut dyn FnMut(&[[f32; 2]], &[[f32; 2]])) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gl.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_gl_mipmap` is never used [INFO] [stdout] --> src/texture.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 9 | trait GlSettings { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn get_gl_mipmap(&self) -> gl::types::GLenum; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/shader_utils.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | drop(source); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 117 - drop(source); [INFO] [stdout] 117 + let _ = source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/glyph_cache.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | self.character(size, ch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = self.character(size, ch); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/glyph_cache.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn opt_character(&self, size: FontSize, ch: char) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn opt_character(&self, size: FontSize, ch: char) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/back_end.rs:215:42 [INFO] [stdout] | [INFO] [stdout] 215 | assert!(gl::Enable::is_loaded(), GL_FUNC_NOT_LOADED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 215 | assert!(gl::Enable::is_loaded(), "{}", GL_FUNC_NOT_LOADED); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/texture.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | drop(ids); [INFO] [stdout] | ^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u32; 1]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 144 - drop(ids); [INFO] [stdout] 144 + let _ = ids; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "76f312dff9e348db15902d9e2171e129974e05313d44ba70160e8bf85d78eecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76f312dff9e348db15902d9e2171e129974e05313d44ba70160e8bf85d78eecb", kill_on_drop: false }` [INFO] [stdout] 76f312dff9e348db15902d9e2171e129974e05313d44ba70160e8bf85d78eecb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e306a63571ff509eb0a42e58bd64364711c4a4489475b3164aaaf235d267a079 [INFO] running `Command { std: "docker" "start" "-a" "e306a63571ff509eb0a42e58bd64364711c4a4489475b3164aaaf235d267a079", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling sdl2-sys v0.27.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gl.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/back_end.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | where F: FnMut(&mut FnMut(&[[f32; 2]])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 323 | where F: FnMut(&mut dyn FnMut(&[[f32; 2]])) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/back_end.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 363 | where F: FnMut(&mut FnMut(&[[f32; 2]], &[[f32; 2]])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 363 | where F: FnMut(&mut dyn FnMut(&[[f32; 2]], &[[f32; 2]])) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gl.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_gl_mipmap` is never used [INFO] [stdout] --> src/texture.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 9 | trait GlSettings { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn get_gl_mipmap(&self) -> gl::types::GLenum; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/shader_utils.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | drop(source); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 117 - drop(source); [INFO] [stdout] 117 + let _ = source; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/glyph_cache.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | self.character(size, ch); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = self.character(size, ch); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/glyph_cache.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn opt_character(&self, size: FontSize, ch: char) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn opt_character(&self, size: FontSize, ch: char) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/back_end.rs:215:42 [INFO] [stdout] | [INFO] [stdout] 215 | assert!(gl::Enable::is_loaded(), GL_FUNC_NOT_LOADED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 215 | assert!(gl::Enable::is_loaded(), "{}", GL_FUNC_NOT_LOADED); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/texture.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | drop(ids); [INFO] [stdout] | ^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u32; 1]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 144 - drop(ids); [INFO] [stdout] 144 + let _ = ids; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling sdl2 v0.28.0 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling pistoncore-input v0.17.1 [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/controller.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, Eq, Debug, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/controller.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, Eq, Debug, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/controller.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/controller.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/keyboard.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/keyboard.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/keyboard.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, Debug, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/keyboard.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, Debug, Hash)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/mouse.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/mouse.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/after_render.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, PartialEq, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/after_render.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, PartialEq, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/close.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, PartialEq, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/close.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, PartialEq, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/idle.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, PartialEq, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/idle.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, PartialEq, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/render.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Clone, PartialEq, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/render.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Clone, PartialEq, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/touch.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/touch.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/touch.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/touch.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/update.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, PartialEq, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/update.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, Clone, PartialEq, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, Eq, Hash, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, Eq, Hash, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `decode` found for enum `Button` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:198:83 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Button { [INFO] [stdout] | --------------- variant or associated item `decode` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 198 | 0 => Input::Press(try!(d.read_enum_variant_arg(0, |d| Button::decode(d)))), [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Button` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `decode` found for enum `Button` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:199:85 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Button { [INFO] [stdout] | --------------- variant or associated item `decode` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 199 | 1 => Input::Release(try!(d.read_enum_variant_arg(0, |d| Button::decode(d)))), [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Button` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `decode` found for enum `Motion` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:200:82 [INFO] [stdout] | [INFO] [stdout] 92 | pub enum Motion { [INFO] [stdout] | --------------- variant or associated item `decode` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 200 | 2 => Input::Move(try!(d.read_enum_variant_arg(0, |d| Motion::decode(d)))), [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Motion` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `CloseArgs` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:208:86 [INFO] [stdout] | [INFO] [stdout] 208 | 7 => Input::Close(try!(d.read_enum_variant_arg(0, |d| CloseArgs::decode(d)))), [INFO] [stdout] | ^^^^^^ function or associated item not found in `CloseArgs` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/close.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CloseArgs; [INFO] [stdout] | -------------------- function or associated item `decode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `RenderArgs` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:209:88 [INFO] [stdout] | [INFO] [stdout] 209 | 8 => Input::Render(try!(d.read_enum_variant_arg(0, |d| RenderArgs::decode(d)))), [INFO] [stdout] | ^^^^^^ function or associated item not found in `RenderArgs` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/render.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RenderArgs { [INFO] [stdout] | --------------------- function or associated item `decode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `AfterRenderArgs` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:212:73 [INFO] [stdout] | [INFO] [stdout] 212 | d.read_enum_variant_arg(0, |d| AfterRenderArgs::decode(d)))) [INFO] [stdout] | ^^^^^^ function or associated item not found in `AfterRenderArgs` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/after_render.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AfterRenderArgs; [INFO] [stdout] | -------------------------- function or associated item `decode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `UpdateArgs` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:215:87 [INFO] [stdout] | [INFO] [stdout] 215 | Input::Update(try!(d.read_enum_variant_arg(0, |d| UpdateArgs::decode(d)))) [INFO] [stdout] | ^^^^^^ function or associated item not found in `UpdateArgs` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/update.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UpdateArgs { [INFO] [stdout] | --------------------- function or associated item `decode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `IdleArgs` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:217:85 [INFO] [stdout] | [INFO] [stdout] 217 | 11 => Input::Idle(try!(d.read_enum_variant_arg(0, |d| IdleArgs::decode(d)))), [INFO] [stdout] | ^^^^^^ function or associated item not found in `IdleArgs` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/idle.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct IdleArgs { [INFO] [stdout] | ------------------- function or associated item `decode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for reference `&Button`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:232:79 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Button { [INFO] [stdout] | --------------- doesn't satisfy `Button: Encodable` [INFO] [stdout] ... [INFO] [stdout] 232 | |s| s.emit_enum_variant_arg(0, |s| button.encode(s))) [INFO] [stdout] | ^^^^^^ method cannot be called on `&Button` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Button: Encodable` [INFO] [stdout] which is required by `&Button: Encodable` [INFO] [stdout] note: the trait `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for reference `&Button`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:238:79 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Button { [INFO] [stdout] | --------------- doesn't satisfy `Button: Encodable` [INFO] [stdout] ... [INFO] [stdout] 238 | |s| s.emit_enum_variant_arg(0, |s| button.encode(s))) [INFO] [stdout] | ^^^^^^ method cannot be called on `&Button` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Button: Encodable` [INFO] [stdout] which is required by `&Button: Encodable` [INFO] [stdout] note: the trait `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for reference `&Motion`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:244:79 [INFO] [stdout] | [INFO] [stdout] 92 | pub enum Motion { [INFO] [stdout] | --------------- doesn't satisfy `Motion: Encodable` [INFO] [stdout] ... [INFO] [stdout] 244 | |s| s.emit_enum_variant_arg(0, |s| motion.encode(s))) [INFO] [stdout] | ^^^^^^ method cannot be called on `&Motion` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Motion: Encodable` [INFO] [stdout] which is required by `&Motion: Encodable` [INFO] [stdout] note: the trait `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for reference `&CloseArgs`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:275:83 [INFO] [stdout] | [INFO] [stdout] 275 | ... |s| s.emit_enum_variant_arg(0, |s| close_args.encode(s))) [INFO] [stdout] | ^^^^^^ method cannot be called on `&CloseArgs` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/close.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CloseArgs; [INFO] [stdout] | -------------------- doesn't satisfy `CloseArgs: Encodable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `CloseArgs: Encodable` [INFO] [stdout] which is required by `&CloseArgs: Encodable` [INFO] [stdout] note: the trait `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for reference `&RenderArgs`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:281:84 [INFO] [stdout] | [INFO] [stdout] 281 | ... |s| s.emit_enum_variant_arg(0, |s| render_args.encode(s))) [INFO] [stdout] | ^^^^^^ method cannot be called on `&RenderArgs` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/render.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RenderArgs { [INFO] [stdout] | --------------------- doesn't satisfy `RenderArgs: Encodable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `RenderArgs: Encodable` [INFO] [stdout] which is required by `&RenderArgs: Encodable` [INFO] [stdout] note: the trait `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for reference `&AfterRenderArgs`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:287:90 [INFO] [stdout] | [INFO] [stdout] 287 | ... |s| s.emit_enum_variant_arg(0, |s| after_render_args.encode(s))) [INFO] [stdout] | ^^^^^^ method cannot be called on `&AfterRenderArgs` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/after_render.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AfterRenderArgs; [INFO] [stdout] | -------------------------- doesn't satisfy `AfterRenderArgs: Encodable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `AfterRenderArgs: Encodable` [INFO] [stdout] which is required by `&AfterRenderArgs: Encodable` [INFO] [stdout] note: the trait `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for reference `&UpdateArgs`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:293:84 [INFO] [stdout] | [INFO] [stdout] 293 | ... |s| s.emit_enum_variant_arg(0, |s| update_args.encode(s))) [INFO] [stdout] | ^^^^^^ method cannot be called on `&UpdateArgs` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/update.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UpdateArgs { [INFO] [stdout] | --------------------- doesn't satisfy `UpdateArgs: Encodable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `UpdateArgs: Encodable` [INFO] [stdout] which is required by `&UpdateArgs: Encodable` [INFO] [stdout] note: the trait `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for reference `&IdleArgs`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/lib.rs:299:82 [INFO] [stdout] | [INFO] [stdout] 299 | ... |s| s.emit_enum_variant_arg(0, |s| idle_args.encode(s))) [INFO] [stdout] | ^^^^^^ method cannot be called on `&IdleArgs` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-input-0.17.1/src/idle.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct IdleArgs { [INFO] [stdout] | ------------------- doesn't satisfy `IdleArgs: Encodable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `IdleArgs: Encodable` [INFO] [stdout] which is required by `&IdleArgs: Encodable` [INFO] [stdout] note: the trait `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pistoncore-input` (lib) due to 44 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e306a63571ff509eb0a42e58bd64364711c4a4489475b3164aaaf235d267a079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e306a63571ff509eb0a42e58bd64364711c4a4489475b3164aaaf235d267a079", kill_on_drop: false }` [INFO] [stdout] e306a63571ff509eb0a42e58bd64364711c4a4489475b3164aaaf235d267a079