[INFO] cloning repository https://github.com/sammosampson/voxel_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sammosampson/voxel_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammosampson%2Fvoxel_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammosampson%2Fvoxel_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c865e953810ec8a310111180de4d3373b3b570ac [INFO] testing sammosampson/voxel_engine against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammosampson%2Fvoxel_engine" "/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/sammosampson/voxel_engine on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sammosampson/voxel_engine [INFO] finished tweaking git repo https://github.com/sammosampson/voxel_engine [INFO] tweaked toml for git repo https://github.com/sammosampson/voxel_engine written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sammosampson/voxel_engine 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2109d7a9b7e9f8b6f07739a62c058c11d62f4efe0c28e8542b4614498d27451 [INFO] running `Command { std: "docker" "start" "-a" "b2109d7a9b7e9f8b6f07739a62c058c11d62f4efe0c28e8542b4614498d27451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2109d7a9b7e9f8b6f07739a62c058c11d62f4efe0c28e8542b4614498d27451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2109d7a9b7e9f8b6f07739a62c058c11d62f4efe0c28e8542b4614498d27451", kill_on_drop: false }` [INFO] [stdout] b2109d7a9b7e9f8b6f07739a62c058c11d62f4efe0c28e8542b4614498d27451 [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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a745e7953882e7d41dc975891693b9c7174eb550c1bf94ee82b7924e15860232 [INFO] running `Command { std: "docker" "start" "-a" "a745e7953882e7d41dc975891693b9c7174eb550c1bf94ee82b7924e15860232", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling minimal-lexical v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling owned_ttf_parser v0.12.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling ab_glyph v0.2.11 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling memmap2 v0.2.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling ordered-float v2.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling emath v0.14.0 [INFO] [stderr] Compiling atomic_refcell v0.1.7 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling epaint v0.14.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling glium v0.30.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thiserror v1.0.28 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling egui v0.14.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling x11-clipboard v0.5.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling epi v0.14.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling legion_codegen v0.3.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling webbrowser v0.5.5 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling legion v0.3.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.14.0 [INFO] [stderr] Compiling smithay-clipboard v0.6.4 [INFO] [stderr] Compiling copypasta v0.7.1 [INFO] [stderr] Compiling glutin v0.27.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.21.0 [INFO] [stderr] Compiling egui_glium v0.14.0 [INFO] [stderr] Compiling voxel_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wrapped::*` [INFO] [stdout] --> src/events/system/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use wrapped::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `legion::query::Query` [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | pub use legion::query::Query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/debug/cycles.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | $i += 1; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 148 | / measurement_channel_readers_lookup! { [INFO] [stdout] 149 | | AggregateTotal, [INFO] [stdout] 150 | | Aggregate [INFO] [stdout] 151 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `post_increment` which comes from the expansion of the macro `measurement_channel_readers_lookup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_node` is never used [INFO] [stdout] --> src/rendering/world/graph.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl WorldRenderGraph { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn remove_node(&mut self, entity: &Entity) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/mod.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | WorldAction(legion::world::Event) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SystemEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | WorldAction(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | &mut resources.insert(exit_state_notifier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = &mut resources.insert(exit_state_notifier); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | &mut resources.insert(system_event_producer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = &mut resources.insert(system_event_producer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | &mut resources.insert(system_event_channel); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = &mut resources.insert(system_event_channel); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | &mut resources.insert(event_channel_registrar); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 88 | let _ = &mut resources.insert(event_channel_registrar); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | &mut resources.insert(editor_render_graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = &mut resources.insert(editor_render_graph); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | &mut resources.insert(world_render_graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 90 | let _ = &mut resources.insert(world_render_graph); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | &mut resources.insert(game_state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 91 | let _ = &mut resources.insert(game_state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/debug/cycles.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | CYCLE_MEASUREMENTS.initialise(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/debug/cycles.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | CYCLE_MEASUREMENTS.publish_measurement(counter, cycles); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/debug/cycles.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | CYCLE_MEASUREMENTS.read_statistics(reader) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 24s [INFO] running `Command { std: "docker" "inspect" "a745e7953882e7d41dc975891693b9c7174eb550c1bf94ee82b7924e15860232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a745e7953882e7d41dc975891693b9c7174eb550c1bf94ee82b7924e15860232", kill_on_drop: false }` [INFO] [stdout] a745e7953882e7d41dc975891693b9c7174eb550c1bf94ee82b7924e15860232 [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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fc52229169f6e709f8818d706238e8c97cdaf3d8d7ecb69a8053ecb13937997 [INFO] running `Command { std: "docker" "start" "-a" "7fc52229169f6e709f8818d706238e8c97cdaf3d8d7ecb69a8053ecb13937997", kill_on_drop: false }` [INFO] [stderr] Compiling voxel_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wrapped::*` [INFO] [stdout] --> src/events/system/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use wrapped::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `legion::query::Query` [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | pub use legion::query::Query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/debug/cycles.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | $i += 1; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 148 | / measurement_channel_readers_lookup! { [INFO] [stdout] 149 | | AggregateTotal, [INFO] [stdout] 150 | | Aggregate [INFO] [stdout] 151 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `post_increment` which comes from the expansion of the macro `measurement_channel_readers_lookup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_node` is never used [INFO] [stdout] --> src/rendering/world/graph.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl WorldRenderGraph { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn remove_node(&mut self, entity: &Entity) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/mod.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | WorldAction(legion::world::Event) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SystemEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | WorldAction(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | &mut resources.insert(exit_state_notifier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = &mut resources.insert(exit_state_notifier); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | &mut resources.insert(system_event_producer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = &mut resources.insert(system_event_producer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | &mut resources.insert(system_event_channel); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = &mut resources.insert(system_event_channel); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | &mut resources.insert(event_channel_registrar); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 88 | let _ = &mut resources.insert(event_channel_registrar); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | &mut resources.insert(editor_render_graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = &mut resources.insert(editor_render_graph); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | &mut resources.insert(world_render_graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 90 | let _ = &mut resources.insert(world_render_graph); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/application.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | &mut resources.insert(game_state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 91 | let _ = &mut resources.insert(game_state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/debug/cycles.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | CYCLE_MEASUREMENTS.initialise(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/debug/cycles.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | CYCLE_MEASUREMENTS.publish_measurement(counter, cycles); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/debug/cycles.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | CYCLE_MEASUREMENTS.read_statistics(reader) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.76s [INFO] running `Command { std: "docker" "inspect" "7fc52229169f6e709f8818d706238e8c97cdaf3d8d7ecb69a8053ecb13937997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc52229169f6e709f8818d706238e8c97cdaf3d8d7ecb69a8053ecb13937997", kill_on_drop: false }` [INFO] [stdout] 7fc52229169f6e709f8818d706238e8c97cdaf3d8d7ecb69a8053ecb13937997 [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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 60a1b7872e520d4aac63532ad02ceba42de34d1329435af0b914ca7a7b3a0e8b [INFO] running `Command { std: "docker" "start" "-a" "60a1b7872e520d4aac63532ad02ceba42de34d1329435af0b914ca7a7b3a0e8b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `wrapped::*` [INFO] [stderr] --> src/events/system/mod.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub use wrapped::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `legion::query::Query` [INFO] [stderr] --> src/main.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | pub use legion::query::Query; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `i` is never read [INFO] [stderr] --> src/debug/cycles.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | $i += 1; [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 148 | / measurement_channel_readers_lookup! { [INFO] [stderr] 149 | | AggregateTotal, [INFO] [stderr] 150 | | Aggregate [INFO] [stderr] 151 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = note: this warning originates in the macro `post_increment` which comes from the expansion of the macro `measurement_channel_readers_lookup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `remove_node` is never used [INFO] [stderr] --> src/rendering/world/graph.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 51 | impl WorldRenderGraph { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 64 | pub fn remove_node(&mut self, entity: &Entity) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/events/mod.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | WorldAction(legion::world::Event) [INFO] [stderr] | ----------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SystemEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 20 | WorldAction(()) [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/application.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | &mut resources.insert(exit_state_notifier); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 85 | let _ = &mut resources.insert(exit_state_notifier); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/application.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | &mut resources.insert(system_event_producer); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 86 | let _ = &mut resources.insert(system_event_producer); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/application.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | &mut resources.insert(system_event_channel); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 87 | let _ = &mut resources.insert(system_event_channel); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/application.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | &mut resources.insert(event_channel_registrar); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 88 | let _ = &mut resources.insert(event_channel_registrar); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/application.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | &mut resources.insert(editor_render_graph); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 89 | let _ = &mut resources.insert(editor_render_graph); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/application.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | &mut resources.insert(world_render_graph); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 90 | let _ = &mut resources.insert(world_render_graph); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/application.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | &mut resources.insert(game_state); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 91 | let _ = &mut resources.insert(game_state); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/debug/cycles.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | CYCLE_MEASUREMENTS.initialise(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/debug/cycles.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 160 | CYCLE_MEASUREMENTS.publish_measurement(counter, cycles); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/debug/cycles.rs:166:9 [INFO] [stderr] | [INFO] [stderr] 166 | CYCLE_MEASUREMENTS.read_statistics(reader) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: `voxel_engine` (bin "voxel_engine" test) generated 15 warnings (run `cargo fix --bin "voxel_engine" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/voxel_engine-c35c6beedd642a34) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test math::matrices::from_column_major_parses_to_row_major ... ok [INFO] [stdout] test math::matrices::into_column_major_goes_to_column_major ... ok [INFO] [stdout] test math::plane::new_plane_produces_correct_coordinates ... ok [INFO] [stdout] test math::matrices::translation_matrix4_translates_vector_correctly ... ok [INFO] [stdout] test math::matrices::from_f324x4_parses_in_row_major ... ok [INFO] [stdout] test math::plane::new_bottom_facing_plane_produces_correct_coordinates ... ok [INFO] [stdout] test math::plane::new_top_facing_plane_produces_correct_coordinates ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- math::plane::new_top_facing_plane_produces_correct_coordinates stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'math::plane::new_top_facing_plane_produces_correct_coordinates' panicked at src/math/plane.rs:65:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Vector4 { x: -0.5, y: 0.5, z: 0.5, w: 1.0 } [INFO] [stdout] right: Vector4 { x: 0.5, y: 0.5, z: 0.5, w: 1.0 } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f8491c43a0a - std::backtrace_rs::backtrace::libunwind::trace::h88deb10bd0145eb8 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5f8491c43a0a - std::backtrace_rs::backtrace::trace_unsynchronized::he1036f5481c14dff [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5f8491c43a0a - std::sys::backtrace::_print_fmt::hecc345b6e70c4b20 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f8491c43a0a - ::fmt::he089f96442833f67 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f8491c69df3 - core::fmt::rt::Argument::fmt::h1f77cded99c71a14 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5f8491c69df3 - core::fmt::write::h2f210ed4c94745cb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x5f8491c40b23 - std::io::Write::write_fmt::he723b56f7e0bd522 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x5f8491c43852 - std::sys::backtrace::BacktraceLock::print::h810fbd31421329e6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5f8491c44f40 - std::panicking::default_hook::{{closure}}::hbaad47ed9dc6356d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5f8491c44cdd - std::panicking::default_hook::h24e207139139d40a [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:319:9 [INFO] [stdout] 10: 0x5f8491c0d113 - as core::ops::function::Fn>::call::h63353c459bb27956 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 11: 0x5f8491c0d113 - test::test_main::{{closure}}::hd5af4d6c4e32fe08 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5f8491c45773 - as core::ops::function::Fn>::call::h3af32c23caf5c679 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 13: 0x5f8491c45773 - std::panicking::rust_panic_with_hook::ha9131beeb2ddc506 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:836:13 [INFO] [stdout] 14: 0x5f8491c4544a - std::panicking::begin_panic_handler::{{closure}}::h1bba0eaeb6da506f [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:701:13 [INFO] [stdout] 15: 0x5f8491c43f09 - std::sys::backtrace::__rust_end_short_backtrace::h1d1ca3eade483f4c [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5f8491c450dd - rust_begin_unwind [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:692:5 [INFO] [stdout] 17: 0x5f8491bcfc30 - core::panicking::panic_fmt::h896a0727a1a943f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5f8491bcff52 - core::panicking::assert_failed_inner::ha51bf8fa7906dee4 [INFO] [stdout] 19: 0x5f8491bd3d16 - core::panicking::assert_failed::h075e1b6500f056ec [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:364:5 [INFO] [stdout] 20: 0x5f8491bd33fb - voxel_engine::math::plane::new_top_facing_plane_produces_correct_coordinates::hb8cc68fb9fc0b67b [INFO] [stdout] at /opt/rustwide/workdir/src/math/plane.rs:65:5 [INFO] [stdout] 21: 0x5f8491bd32c7 - voxel_engine::math::plane::new_top_facing_plane_produces_correct_coordinates::{{closure}}::hee81f0a14c30f024 [INFO] [stdout] at /opt/rustwide/workdir/src/math/plane.rs:60:55 [INFO] [stdout] 22: 0x5f8491bd3bd6 - core::ops::function::FnOnce::call_once::hf1255f8a4106aec7 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5f8491c128bb - core::ops::function::FnOnce::call_once::h8acc80b5a33ff319 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f8491c128bb - test::__rust_begin_short_backtrace::h52b6da716ad42b7d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:632:18 [INFO] [stdout] 25: 0x5f8491c117f3 - test::run_test_in_process::{{closure}}::h2580047890abbefe [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:60 [INFO] [stdout] 26: 0x5f8491c117f3 - as core::ops::function::FnOnce<()>>::call_once::h936f8c89d0a99c40 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5f8491c117f3 - std::panicking::try::do_call::h868682cc368697f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 28: 0x5f8491c117f3 - std::panicking::try::h0356ffc38cbb5501 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 29: 0x5f8491c117f3 - std::panic::catch_unwind::h74edf102a3082536 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x5f8491c117f3 - test::run_test_in_process::hc27d69576b7224e4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:27 [INFO] [stdout] 31: 0x5f8491c117f3 - test::run_test::{{closure}}::h9f3bfaf910429adb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:576:43 [INFO] [stdout] 32: 0x5f8491bd5525 - test::run_test::{{closure}}::h3d537cdce8ec5816 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:606:41 [INFO] [stdout] 33: 0x5f8491bd5525 - std::sys::backtrace::__rust_begin_short_backtrace::hb51d9a6c67ec382d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5f8491bd8f66 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5738f3abb9603fe6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:564:17 [INFO] [stdout] 35: 0x5f8491bd8f66 - as core::ops::function::FnOnce<()>>::call_once::h5e9f4b56e45e8108 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5f8491bd8f66 - std::panicking::try::do_call::ha36db853b2f34e23 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 37: 0x5f8491bd8f66 - std::panicking::try::h57e1aa33a0efb1be [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 38: 0x5f8491bd8f66 - std::panic::catch_unwind::hdb71a6103024936e [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x5f8491bd8f66 - std::thread::Builder::spawn_unchecked_::{{closure}}::h8caa22218f423ab1 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:562:30 [INFO] [stdout] 40: 0x5f8491bd8f66 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb3b44780e9c053e5 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5f8491c495db - as core::ops::function::FnOnce>::call_once::h2649f14f1b1c150d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 42: 0x5f8491c495db - as core::ops::function::FnOnce>::call_once::hb2ade58cb34e1bc4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 43: 0x5f8491c495db - std::sys::pal::unix::thread::Thread::new::thread_start::ha07e360225fa3528 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 44: 0x7525f5a0bac3 - [INFO] [stdout] 45: 0x7525f5a9ca04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] math::plane::new_top_facing_plane_produces_correct_coordinates [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin voxel_engine` [INFO] running `Command { std: "docker" "inspect" "60a1b7872e520d4aac63532ad02ceba42de34d1329435af0b914ca7a7b3a0e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a1b7872e520d4aac63532ad02ceba42de34d1329435af0b914ca7a7b3a0e8b", kill_on_drop: false }` [INFO] [stdout] 60a1b7872e520d4aac63532ad02ceba42de34d1329435af0b914ca7a7b3a0e8b