[INFO] cloning repository https://github.com/dlinyang/titanium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dlinyang/titanium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlinyang%2Ftitanium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlinyang%2Ftitanium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b299c3b1b755ac876e05f92e5090ef09e13e5c6 [INFO] testing dlinyang/titanium against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlinyang%2Ftitanium" "/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/dlinyang/titanium on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dlinyang/titanium [INFO] removed 1 missing examples [INFO] finished tweaking git repo https://github.com/dlinyang/titanium [INFO] tweaked toml for git repo https://github.com/dlinyang/titanium written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dlinyang/titanium 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.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/dlinyang/rmu` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded instant v0.1.3 [INFO] [stderr] Downloaded arrayvec v0.5.0 [INFO] [stderr] Downloaded owned_ttf_parser v0.5.1 [INFO] [stderr] Downloaded rusttype v0.9.1 [INFO] [stderr] Downloaded glutin v0.24.0 [INFO] [stderr] Downloaded ttf-parser v0.5.0 [INFO] [stderr] Downloaded winit v0.22.1 [INFO] [stderr] Downloaded glium v0.27.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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 804964cff54552d23bef27a9e80a6e4480e80c5b8439b28c2a015ac3df1ea75d [INFO] running `Command { std: "docker" "start" "-a" "804964cff54552d23bef27a9e80a6e4480e80c5b8439b28c2a015ac3df1ea75d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "804964cff54552d23bef27a9e80a6e4480e80c5b8439b28c2a015ac3df1ea75d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "804964cff54552d23bef27a9e80a6e4480e80c5b8439b28c2a015ac3df1ea75d", kill_on_drop: false }` [INFO] [stdout] 804964cff54552d23bef27a9e80a6e4480e80c5b8439b28c2a015ac3df1ea75d [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 788c2ff2e7764b07dac9678c026cc746eb9c3c2e7493547699a1e4a6a1a21aca [INFO] running `Command { std: "docker" "start" "-a" "788c2ff2e7764b07dac9678c026cc746eb9c3c2e7493547699a1e4a6a1a21aca", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling arrayvec v0.5.0 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling stb_truetype v0.3.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling instant v0.1.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling glium v0.27.0 [INFO] [stderr] Compiling ttf-parser v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rusttype v0.8.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.2 [INFO] [stderr] Compiling owned_ttf_parser v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Compiling rusttype v0.9.1 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling rmu v0.1.0 (https://github.com/dlinyang/rmu#ff63fa94) [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.1 [INFO] [stderr] Compiling glutin v0.24.0 [INFO] [stderr] Compiling titanium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/backend/glium/event.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin::platform::desktop::EventLoopExtDesktop` [INFO] [stdout] --> src/backend/glium/event.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | use glutin::platform::desktop::EventLoopExtDesktop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/backend/glium/renderer/pipeline/shader_buffer.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use glium::program::{Program, Binary}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `canvas::*` [INFO] [stdout] --> src/backend/glium/renderer/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use canvas::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render_pass::*` [INFO] [stdout] --> src/backend/glium/renderer/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use render_pass::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::base::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `utils` in the type namespace is first re-exported here [INFO] [stdout] 3 | pub use crate::renderer::*; [INFO] [stdout] 4 | pub use crate::event::*; [INFO] [stdout] | --------------- but the name `utils` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::base::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `light` in the type namespace is first re-exported here [INFO] [stdout] 3 | pub use crate::renderer::*; [INFO] [stdout] | ------------------ but the name `light` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/backend/glium/event.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | ... modifiers: _, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/backend/glium/event.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | ... modifiers: _, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/backend/glium/event.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | ... modifiers: _, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/base/mesh.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(data: &Vec) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/ui/widget.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut x: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/ui/widget.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | #[warn(unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/ui/widget.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut y: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `w` is never read [INFO] [stdout] --> src/ui/widget.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut w: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `h` is never read [INFO] [stdout] --> src/ui/widget.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut h: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend/glium/event.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let mut result = Event::Other; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_buffer` [INFO] [stdout] --> src/backend/glium/renderer/render_produre.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let light_buffer = Rc::get_mut(&mut self.data_buffer.light_buffer).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shadow_maps_ref` [INFO] [stdout] --> src/backend/glium/renderer/render_produre.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let shadow_maps_ref: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shadow_maps_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grid` is never used [INFO] [stdout] --> src/model/generate/grid.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn grid(step: f32, row: usize, column: usize) -> Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/asset/asset_manager.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | let src_byte = src.as_bytes().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "788c2ff2e7764b07dac9678c026cc746eb9c3c2e7493547699a1e4a6a1a21aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "788c2ff2e7764b07dac9678c026cc746eb9c3c2e7493547699a1e4a6a1a21aca", kill_on_drop: false }` [INFO] [stdout] 788c2ff2e7764b07dac9678c026cc746eb9c3c2e7493547699a1e4a6a1a21aca [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eb8ce45819a1567c6c548756d1053f64b02a562df23bff8a30448d7900ef128 [INFO] running `Command { std: "docker" "start" "-a" "1eb8ce45819a1567c6c548756d1053f64b02a562df23bff8a30448d7900ef128", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/backend/glium/event.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin::platform::desktop::EventLoopExtDesktop` [INFO] [stdout] --> src/backend/glium/event.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | use glutin::platform::desktop::EventLoopExtDesktop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/backend/glium/renderer/pipeline/shader_buffer.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use glium::program::{Program, Binary}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `canvas::*` [INFO] [stdout] --> src/backend/glium/renderer/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use canvas::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render_pass::*` [INFO] [stdout] --> src/backend/glium/renderer/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use render_pass::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::base::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `utils` in the type namespace is first re-exported here [INFO] [stdout] 3 | pub use crate::renderer::*; [INFO] [stdout] 4 | pub use crate::event::*; [INFO] [stdout] | --------------- but the name `utils` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::base::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `light` in the type namespace is first re-exported here [INFO] [stdout] 3 | pub use crate::renderer::*; [INFO] [stdout] | ------------------ but the name `light` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/backend/glium/event.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | ... modifiers: _, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/backend/glium/event.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | ... modifiers: _, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/backend/glium/event.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | ... modifiers: _, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/base/mesh.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(data: &Vec) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/ui/widget.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut x: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/ui/widget.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | #[warn(unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/ui/widget.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut y: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `w` is never read [INFO] [stdout] --> src/ui/widget.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut w: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `h` is never read [INFO] [stdout] --> src/ui/widget.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut h: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend/glium/event.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let mut result = Event::Other; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_buffer` [INFO] [stdout] --> src/backend/glium/renderer/render_produre.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let light_buffer = Rc::get_mut(&mut self.data_buffer.light_buffer).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shadow_maps_ref` [INFO] [stdout] --> src/backend/glium/renderer/render_produre.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let shadow_maps_ref: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shadow_maps_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grid` is never used [INFO] [stdout] --> src/model/generate/grid.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn grid(step: f32, row: usize, column: usize) -> Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling titanium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/asset/asset_manager.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | let src_byte = src.as_bytes().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/backend/glium/event.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin::platform::desktop::EventLoopExtDesktop` [INFO] [stdout] --> src/backend/glium/event.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | use glutin::platform::desktop::EventLoopExtDesktop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/backend/glium/renderer/pipeline/shader_buffer.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use glium::program::{Program, Binary}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `canvas::*` [INFO] [stdout] --> src/backend/glium/renderer/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use canvas::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render_pass::*` [INFO] [stdout] --> src/backend/glium/renderer/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use render_pass::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::base::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `utils` in the type namespace is first re-exported here [INFO] [stdout] 3 | pub use crate::renderer::*; [INFO] [stdout] 4 | pub use crate::event::*; [INFO] [stdout] | --------------- but the name `utils` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::base::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `light` in the type namespace is first re-exported here [INFO] [stdout] 3 | pub use crate::renderer::*; [INFO] [stdout] | ------------------ but the name `light` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/backend/glium/event.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | ... modifiers: _, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/backend/glium/event.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | ... modifiers: _, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/backend/glium/event.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | ... modifiers: _, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/base/mesh.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn from_bytes(data: &Vec) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/ui/widget.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut x: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/ui/widget.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | #[warn(unused_assignments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/ui/widget.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut y: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `w` is never read [INFO] [stdout] --> src/ui/widget.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut w: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `h` is never read [INFO] [stdout] --> src/ui/widget.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut h: f32 = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend/glium/event.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let mut result = Event::Other; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_buffer` [INFO] [stdout] --> src/backend/glium/renderer/render_produre.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let light_buffer = Rc::get_mut(&mut self.data_buffer.light_buffer).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shadow_maps_ref` [INFO] [stdout] --> src/backend/glium/renderer/render_produre.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let shadow_maps_ref: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shadow_maps_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grid` is never used [INFO] [stdout] --> src/model/generate/grid.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn grid(step: f32, row: usize, column: usize) -> Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/asset/asset_manager.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | let src_byte = src.as_bytes().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "1eb8ce45819a1567c6c548756d1053f64b02a562df23bff8a30448d7900ef128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb8ce45819a1567c6c548756d1053f64b02a562df23bff8a30448d7900ef128", kill_on_drop: false }` [INFO] [stdout] 1eb8ce45819a1567c6c548756d1053f64b02a562df23bff8a30448d7900ef128 [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4fcc88781e15ca5c856654ba948d44af71b4451b7af50b62590f815b1e0fdb38 [INFO] running `Command { std: "docker" "start" "-a" "4fcc88781e15ca5c856654ba948d44af71b4451b7af50b62590f815b1e0fdb38", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `debug` [INFO] [stderr] --> src/backend/glium/event.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | #[cfg(debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `glutin::platform::desktop::EventLoopExtDesktop` [INFO] [stderr] --> src/backend/glium/event.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | use glutin::platform::desktop::EventLoopExtDesktop; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Binary` [INFO] [stderr] --> src/backend/glium/renderer/pipeline/shader_buffer.rs:1:31 [INFO] [stderr] | [INFO] [stderr] 1 | use glium::program::{Program, Binary}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `canvas::*` [INFO] [stderr] --> src/backend/glium/renderer/mod.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub use canvas::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `render_pass::*` [INFO] [stderr] --> src/backend/glium/renderer/mod.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub use render_pass::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/prelude.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub use crate::base::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ the name `utils` in the type namespace is first re-exported here [INFO] [stderr] 3 | pub use crate::renderer::*; [INFO] [stderr] 4 | pub use crate::event::*; [INFO] [stderr] | --------------- but the name `utils` in the type namespace is also re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/prelude.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub use crate::base::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ the name `light` in the type namespace is first re-exported here [INFO] [stderr] 3 | pub use crate::renderer::*; [INFO] [stderr] | ------------------ but the name `light` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `glium::glutin::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stderr] --> src/backend/glium/event.rs:58:29 [INFO] [stderr] | [INFO] [stderr] 58 | ... modifiers: _, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stderr] --> src/backend/glium/event.rs:66:29 [INFO] [stderr] | [INFO] [stderr] 66 | ... modifiers: _, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stderr] --> src/backend/glium/event.rs:72:29 [INFO] [stderr] | [INFO] [stderr] 72 | ... modifiers: _, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/base/mesh.rs:59:23 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn from_bytes(data: &Vec) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `x` is never read [INFO] [stderr] --> src/ui/widget.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | let mut x: f32 = 0.0; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/ui/widget.rs:99:8 [INFO] [stderr] | [INFO] [stderr] 99 | #[warn(unused_assignments)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `y` is never read [INFO] [stderr] --> src/ui/widget.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | let mut y: f32 = 0.0; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `w` is never read [INFO] [stderr] --> src/ui/widget.rs:103:13 [INFO] [stderr] | [INFO] [stderr] 103 | let mut w: f32 = 0.0; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `h` is never read [INFO] [stderr] --> src/ui/widget.rs:104:13 [INFO] [stderr] | [INFO] [stderr] 104 | let mut h: f32 = 0.0; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/backend/glium/event.rs:120:13 [INFO] [stderr] | [INFO] [stderr] 120 | let mut result = Event::Other; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `light_buffer` [INFO] [stderr] --> src/backend/glium/renderer/render_produre.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | let light_buffer = Rc::get_mut(&mut self.data_buffer.light_buffer).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_buffer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shadow_maps_ref` [INFO] [stderr] --> src/backend/glium/renderer/render_produre.rs:107:13 [INFO] [stderr] | [INFO] [stderr] 107 | let shadow_maps_ref: Vec> [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shadow_maps_ref` [INFO] [stderr] [INFO] [stderr] warning: function `grid` is never used [INFO] [stderr] --> src/model/generate/grid.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn grid(step: f32, row: usize, column: usize) -> Mesh { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/asset/asset_manager.rs:41:38 [INFO] [stderr] | [INFO] [stderr] 41 | let src_byte = src.as_bytes().clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `titanium` (lib) generated 20 warnings (run `cargo fix --lib -p titanium` to apply 6 suggestions) [INFO] [stderr] warning: `titanium` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/titanium-faaa968eb3e76c5d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests titanium [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/application/application.rs - application::application (line 5) ... ignored [INFO] [stdout] test src/application/application.rs - application::application::Canvas (line 5) ... ignored [INFO] [stdout] test src/application/application.rs - application::application::Renderer (line 5) ... ignored [INFO] [stdout] test src/renderer/canvas.rs - renderer::canvas::Canvas (line 5) ... ignored [INFO] [stdout] test src/ui/widget.rs - ui::widget::WidgetBuilder (line 21) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4fcc88781e15ca5c856654ba948d44af71b4451b7af50b62590f815b1e0fdb38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fcc88781e15ca5c856654ba948d44af71b4451b7af50b62590f815b1e0fdb38", kill_on_drop: false }` [INFO] [stdout] 4fcc88781e15ca5c856654ba948d44af71b4451b7af50b62590f815b1e0fdb38