[INFO] cloning repository https://github.com/scottjmaddox/rust-game-boilerplate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scottjmaddox/rust-game-boilerplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscottjmaddox%2Frust-game-boilerplate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscottjmaddox%2Frust-game-boilerplate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1cdb71aa3c0c79d9ae83ca2c4d74414a14c42e9f [INFO] checking scottjmaddox/rust-game-boilerplate against master#f2d69d5a7c04617d122facd0a7a5bdde0af928ae for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscottjmaddox%2Frust-game-boilerplate" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scottjmaddox/rust-game-boilerplate on toolchain f2d69d5a7c04617d122facd0a7a5bdde0af928ae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scottjmaddox/rust-game-boilerplate [INFO] finished tweaking git repo https://github.com/scottjmaddox/rust-game-boilerplate [INFO] tweaked toml for git repo https://github.com/scottjmaddox/rust-game-boilerplate written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/scottjmaddox/rust-game-boilerplate already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/dev-client/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/dev-client-lib/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/scottjmaddox/live-reloading-rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gfx_window_sdl v0.8.0 [INFO] [stderr] Downloaded khronos_api v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 338121f52dfcc8569bd28c4ebb66e74522b78d337b74b0ad6abc3b2b042ba714 [INFO] running `Command { std: "docker" "start" "-a" "338121f52dfcc8569bd28c4ebb66e74522b78d337b74b0ad6abc3b2b042ba714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "338121f52dfcc8569bd28c4ebb66e74522b78d337b74b0ad6abc3b2b042ba714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "338121f52dfcc8569bd28c4ebb66e74522b78d337b74b0ad6abc3b2b042ba714", kill_on_drop: false }` [INFO] [stdout] 338121f52dfcc8569bd28c4ebb66e74522b78d337b74b0ad6abc3b2b042ba714 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72f49b77f9a14c671035d6dc47f07747b62112978bdfd37ba8fb62c7b077ac74 [INFO] running `Command { std: "docker" "start" "-a" "72f49b77f9a14c671035d6dc47f07747b62112978bdfd37ba8fb62c7b077ac74", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/dev-client/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/dev-client-lib/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling khronos_api v2.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking slab v0.1.3 [INFO] [stderr] Checking bytes v0.3.0 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking same-file v1.0.2 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Checking walkdir v2.1.4 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking net2 v0.2.32 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking inotify v0.3.0 [INFO] [stderr] Checking miow v0.1.5 [INFO] [stderr] Checking filetime v0.1.15 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking mio v0.5.1 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Checking notify v4.0.3 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking live-reload v0.2.0 (https://github.com/scottjmaddox/live-reloading-rs?branch=develop#4cab8b92) [INFO] [stderr] Checking dev-client-lib v0.1.0 (/opt/rustwide/workdir/dev-client-lib) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> dev-client-lib/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / live_reload! { [INFO] [stdout] 25 | | host: HostApi; [INFO] [stdout] 26 | | state: State; [INFO] [stdout] 27 | | init: init; [INFO] [stdout] ... | [INFO] [stdout] 31 | | deinit: on_deinit; [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `live_reload` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `live_reload` may come from an old version of the `live_reload` crate, try updating your dependency with `cargo update -p live_reload` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `live_reload` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> dev-client-lib/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / live_reload! { [INFO] [stdout] 25 | | host: HostApi; [INFO] [stdout] 26 | | state: State; [INFO] [stdout] 27 | | init: init; [INFO] [stdout] ... | [INFO] [stdout] 31 | | deinit: on_deinit; [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `live_reload` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `live_reload` may come from an old version of the `live_reload` crate, try updating your dependency with `cargo update -p live_reload` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `live_reload` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> dev-client-lib/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / live_reload! { [INFO] [stdout] 25 | | host: HostApi; [INFO] [stdout] 26 | | state: State; [INFO] [stdout] 27 | | init: init; [INFO] [stdout] ... | [INFO] [stdout] 31 | | deinit: on_deinit; [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `live_reload` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `live_reload` may come from an old version of the `live_reload` crate, try updating your dependency with `cargo update -p live_reload` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `live_reload` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> dev-client-lib/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / live_reload! { [INFO] [stdout] 25 | | host: HostApi; [INFO] [stdout] 26 | | state: State; [INFO] [stdout] 27 | | init: init; [INFO] [stdout] ... | [INFO] [stdout] 31 | | deinit: on_deinit; [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `live_reload` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `live_reload` may come from an old version of the `live_reload` crate, try updating your dependency with `cargo update -p live_reload` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `live_reload` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Checking gfx_core v0.8.2 [INFO] [stderr] Checking gfx_device_gl v0.15.2 [INFO] [stderr] Checking gfx v0.17.1 [INFO] [stderr] Checking gfx_window_sdl v0.8.0 [INFO] [stderr] Checking dev-client v0.1.0 (/opt/rustwide/workdir/dev-client) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> dev-client/src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref EVENTS: Mutex> = Mutex::new(VecDeque::with_capacity(1024)); [INFO] [stdout] 60 | | static ref VIEWPORT_WIDTH: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] 61 | | static ref VIEWPORT_HEIGHT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | }); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> dev-client/src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref EVENTS: Mutex> = Mutex::new(VecDeque::with_capacity(1024)); [INFO] [stdout] 60 | | static ref VIEWPORT_WIDTH: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] 61 | | static ref VIEWPORT_HEIGHT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | }); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> dev-client/src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref EVENTS: Mutex> = Mutex::new(VecDeque::with_capacity(1024)); [INFO] [stdout] 60 | | static ref VIEWPORT_WIDTH: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] 61 | | static ref VIEWPORT_HEIGHT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | }); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> dev-client/src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref EVENTS: Mutex> = Mutex::new(VecDeque::with_capacity(1024)); [INFO] [stdout] 60 | | static ref VIEWPORT_WIDTH: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] 61 | | static ref VIEWPORT_HEIGHT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | }); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> dev-client/src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref EVENTS: Mutex> = Mutex::new(VecDeque::with_capacity(1024)); [INFO] [stdout] 60 | | static ref VIEWPORT_WIDTH: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] 61 | | static ref VIEWPORT_HEIGHT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | }); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> dev-client/src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref EVENTS: Mutex> = Mutex::new(VecDeque::with_capacity(1024)); [INFO] [stdout] 60 | | static ref VIEWPORT_WIDTH: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] 61 | | static ref VIEWPORT_HEIGHT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | }); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> dev-client/src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref EVENTS: Mutex> = Mutex::new(VecDeque::with_capacity(1024)); [INFO] [stdout] 60 | | static ref VIEWPORT_WIDTH: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] 61 | | static ref VIEWPORT_HEIGHT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | }); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> dev-client/src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref EVENTS: Mutex> = Mutex::new(VecDeque::with_capacity(1024)); [INFO] [stdout] 60 | | static ref VIEWPORT_WIDTH: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] 61 | | static ref VIEWPORT_HEIGHT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | }); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> dev-client/src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref EVENTS: Mutex> = Mutex::new(VecDeque::with_capacity(1024)); [INFO] [stdout] 60 | | static ref VIEWPORT_WIDTH: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] 61 | | static ref VIEWPORT_HEIGHT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | }); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> dev-client/src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref EVENTS: Mutex> = Mutex::new(VecDeque::with_capacity(1024)); [INFO] [stdout] 60 | | static ref VIEWPORT_WIDTH: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] 61 | | static ref VIEWPORT_HEIGHT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | }); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `println`, `viewport_size`, `poll_events`, `push_vertex`, and `set_transform` are never read [INFO] [stdout] --> dev-client/src/../../dev-client-lib/src/host_api.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct HostApi { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | pub println: fn(&str), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub viewport_size: fn() -> (u32, u32), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub poll_events: fn() -> Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub push_vertex: fn(pos: [f32; 4], color: [f32; 4]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | pub set_transform: fn(transform: [[f32; 4]; 4]), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> dev-client/src/../../dev-client-lib/src/host_api.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | KeyPressed { key: Key }, [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> dev-client/src/../../dev-client-lib/src/host_api.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | KeyReleased { key: Key }, [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `println`, `viewport_size`, `poll_events`, `push_vertex`, and `set_transform` are never read [INFO] [stdout] --> dev-client/src/../../dev-client-lib/src/host_api.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct HostApi { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | pub println: fn(&str), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub viewport_size: fn() -> (u32, u32), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub poll_events: fn() -> Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub push_vertex: fn(pos: [f32; 4], color: [f32; 4]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | pub set_transform: fn(transform: [[f32; 4]; 4]), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> dev-client/src/../../dev-client-lib/src/host_api.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | KeyPressed { key: Key }, [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> dev-client/src/../../dev-client-lib/src/host_api.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | KeyReleased { key: Key }, [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, bitflags v0.7.0, syn v0.10.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "72f49b77f9a14c671035d6dc47f07747b62112978bdfd37ba8fb62c7b077ac74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72f49b77f9a14c671035d6dc47f07747b62112978bdfd37ba8fb62c7b077ac74", kill_on_drop: false }` [INFO] [stdout] 72f49b77f9a14c671035d6dc47f07747b62112978bdfd37ba8fb62c7b077ac74