[INFO] cloning repository https://github.com/ArnaudValensi/rust-opengl-game-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArnaudValensi/rust-opengl-game-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnaudValensi%2Frust-opengl-game-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnaudValensi%2Frust-opengl-game-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fdbfd2ca3d1be8d7e3dd023e00d8b336077b44b [INFO] testing ArnaudValensi/rust-opengl-game-engine against 1.90.0 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnaudValensi%2Frust-opengl-game-engine" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ArnaudValensi/rust-opengl-game-engine [INFO] finished tweaking git repo https://github.com/ArnaudValensi/rust-opengl-game-engine [INFO] tweaked toml for git repo https://github.com/ArnaudValensi/rust-opengl-game-engine written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ArnaudValensi/rust-opengl-game-engine on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ArnaudValensi/rust-opengl-game-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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/Gekkio/imgui-rs.git` [INFO] [stderr] Updating git submodule `https://github.com/Extrawurst/cimgui.git` [INFO] [stderr] Updating git submodule `https://github.com/ocornut/imgui.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/michaelfairley/rust-imgui-opengl-renderer.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot v0.5.5 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded vec-tree v0.1.2 [INFO] [stderr] Downloaded shred-derive v0.5.0 [INFO] [stderr] Downloaded stable_deref_trait v1.1.0 [INFO] [stderr] Downloaded parking_lot_core v0.2.14 [INFO] [stderr] Downloaded cgl v0.2.1 [INFO] [stderr] Downloaded shrev v1.0.1 [INFO] [stderr] Downloaded generational-arena v0.2.8 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded cc v1.0.14 [INFO] [stderr] Downloaded png v0.8.0 [INFO] [stderr] Downloaded shared_library v0.1.8 [INFO] [stderr] Downloaded shred v0.7.0 [INFO] [stderr] Downloaded synstructure v0.9.0 [INFO] [stderr] Downloaded backtrace v0.3.7 [INFO] [stderr] Downloaded dot_vox v3.1.0 [INFO] [stderr] Downloaded memchr v1.0.2 [INFO] [stderr] Downloaded proc-macro2 v0.4.19 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded nom v3.2.1 [INFO] [stderr] Downloaded deflate v0.7.18 [INFO] [stderr] Downloaded nix v0.11.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.3.0 [INFO] [stderr] Downloaded image v0.14.0 [INFO] [stderr] Downloaded atom v0.3.5 [INFO] [stderr] Downloaded backtrace-sys v0.1.16 [INFO] [stderr] Downloaded rayon v1.0.1 [INFO] [stderr] Downloaded wayland-protocols v0.20.12 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded downcast-rs v1.0.3 [INFO] [stderr] Downloaded libloading v0.5.0 [INFO] [stderr] Downloaded wayland-client v0.20.12 [INFO] [stderr] Downloaded inflate v0.2.0 [INFO] [stderr] Downloaded floating-duration v0.1.2 [INFO] [stderr] Downloaded cocoa v0.17.0 [INFO] [stderr] Downloaded core-graphics v0.16.0 [INFO] [stderr] Downloaded memmap v0.6.2 [INFO] [stderr] Downloaded wayland-commons v0.20.12 [INFO] [stderr] Downloaded wayland-sys v0.20.12 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.3.1 [INFO] [stderr] Downloaded dotenv v0.13.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.8 [INFO] [stderr] Downloaded failure_derive v0.1.2 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded gl v0.6.5 [INFO] [stderr] Downloaded gleam v0.4.34 [INFO] [stderr] Downloaded wayland-scanner v0.20.12 [INFO] [stderr] Downloaded winit v0.17.2 [INFO] [stderr] Downloaded core-foundation v0.6.2 [INFO] [stderr] Downloaded hibitset v0.5.0 [INFO] [stderr] Downloaded x11-dl v2.18.3 [INFO] [stderr] Downloaded glutin v0.18.0 [INFO] [stderr] Downloaded num-traits v0.2.2 [INFO] [stderr] Downloaded objc v0.2.5 [INFO] [stderr] Downloaded dlib v0.4.1 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded specs v0.12.2 [INFO] [stderr] Downloaded memchr v2.0.2 [INFO] [stderr] Downloaded byteorder v1.2.2 [INFO] [stderr] Downloaded pretty_env_logger v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 755c56bd5aff2ef04f4135ee7279df373a5e02a994f1b9edacad9d6791db0235 [INFO] running `Command { std: "docker" "start" "-a" "755c56bd5aff2ef04f4135ee7279df373a5e02a994f1b9edacad9d6791db0235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "755c56bd5aff2ef04f4135ee7279df373a5e02a994f1b9edacad9d6791db0235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "755c56bd5aff2ef04f4135ee7279df373a5e02a994f1b9edacad9d6791db0235", kill_on_drop: false }` [INFO] [stdout] 755c56bd5aff2ef04f4135ee7279df373a5e02a994f1b9edacad9d6791db0235 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df120ac0b2b059c37093350f4e0ef0b73da9f5d52a7fb65a028900cd5539f769 [INFO] running `Command { std: "docker" "start" "-a" "df120ac0b2b059c37093350f4e0ef0b73da9f5d52a7fb65a028900cd5539f769", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling cc v1.0.14 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling imgui-sys v0.0.19-pre (https://github.com/Gekkio/imgui-rs.git#cfb54ee3) [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stderr] Compiling imgui-opengl-renderer v0.2.2 (https://github.com/michaelfairley/rust-imgui-opengl-renderer.git?rev=52ea13c6a619091902a4877db3ed53eb8ae28a34#52ea13c6) [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling shared_library v0.1.8 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling inflate v0.2.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling hibitset v0.5.0 [INFO] [stderr] Compiling shred v0.7.0 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling shred-derive v0.5.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling generational-arena v0.2.8 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling tuple_utils v0.2.0 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling png v0.8.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling smithay-client-toolkit v0.3.0 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling pretty_env_logger v0.2.4 [INFO] [stderr] Compiling vec-tree v0.1.2 [INFO] [stderr] Compiling dot_vox v3.1.0 [INFO] [stderr] Compiling floating-duration v0.1.2 [INFO] [stderr] Compiling image v0.14.0 [INFO] [stderr] Compiling shrev v1.0.1 [INFO] [stderr] Compiling specs v0.12.2 [INFO] [stderr] Compiling winit v0.17.2 [INFO] [stderr] Compiling imgui v0.0.19-pre (https://github.com/Gekkio/imgui-rs.git#cfb54ee3) [INFO] [stderr] Compiling backtrace v0.3.7 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling bigseed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `mesh_data` is never read [INFO] [stdout] --> src/voxel/chunk.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | mesh_data: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/voxel/chunk.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ChunkOutOfBoundError` [INFO] [stdout] 11 | #[fail(display = "The position of the voxel you are trying to set is out of bound")] [INFO] [stdout] 12 | pub struct ChunkOutOfBoundError; [INFO] [stdout] | -------------------- `ChunkOutOfBoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/voxel/chunk.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ChunkOutOfBoundError` [INFO] [stdout] 11 | #[fail(display = "The position of the voxel you are trying to set is out of bound")] [INFO] [stdout] 12 | pub struct ChunkOutOfBoundError; [INFO] [stdout] | -------------------- `ChunkOutOfBoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:83:67 [INFO] [stdout] | [INFO] [stdout] 83 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, position) as *const c_void); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:86:65 [INFO] [stdout] | [INFO] [stdout] 86 | gl::VertexAttribIPointer(1, 1, gl::UNSIGNED_BYTE, size, offset_of!(Vertex, color_index) as *const c_void); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:89:67 [INFO] [stdout] | [INFO] [stdout] 89 | gl::VertexAttribPointer(2, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, normal) as *const c_void); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn descendant_entities(&self, entity: &Entity) -> DescendantEntities { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn descendant_entities(&self, entity: &Entity) -> DescendantEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn descendant_entities_with_depth(&self, entity: &Entity) -> DescendantEntitiesWithDepth { [INFO] [stdout] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn descendant_entities_with_depth(&self, entity: &Entity) -> DescendantEntitiesWithDepth<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn following_entities(&self, entity: &Entity) -> FollowingEntities { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn following_entities(&self, entity: &Entity) -> FollowingEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn ancestor_entities(&self, entity: &Entity) -> AncestorEntities { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn ancestor_entities(&self, entity: &Entity) -> AncestorEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn root_entities(&self) -> Option { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn root_entities(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, syn v0.10.8, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "df120ac0b2b059c37093350f4e0ef0b73da9f5d52a7fb65a028900cd5539f769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df120ac0b2b059c37093350f4e0ef0b73da9f5d52a7fb65a028900cd5539f769", kill_on_drop: false }` [INFO] [stdout] df120ac0b2b059c37093350f4e0ef0b73da9f5d52a7fb65a028900cd5539f769 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b64166d27048e8694b7128002564b350457499a12faca82faeeb32f83c05478 [INFO] running `Command { std: "docker" "start" "-a" "9b64166d27048e8694b7128002564b350457499a12faca82faeeb32f83c05478", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: field `mesh_data` is never read [INFO] [stdout] --> src/voxel/chunk.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | mesh_data: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/voxel/chunk.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ChunkOutOfBoundError` [INFO] [stdout] 11 | #[fail(display = "The position of the voxel you are trying to set is out of bound")] [INFO] [stdout] 12 | pub struct ChunkOutOfBoundError; [INFO] [stdout] | -------------------- `ChunkOutOfBoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/voxel/chunk.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ChunkOutOfBoundError` [INFO] [stdout] 11 | #[fail(display = "The position of the voxel you are trying to set is out of bound")] [INFO] [stdout] 12 | pub struct ChunkOutOfBoundError; [INFO] [stdout] | -------------------- `ChunkOutOfBoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:83:67 [INFO] [stdout] | [INFO] [stdout] 83 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, position) as *const c_void); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:86:65 [INFO] [stdout] | [INFO] [stdout] 86 | gl::VertexAttribIPointer(1, 1, gl::UNSIGNED_BYTE, size, offset_of!(Vertex, color_index) as *const c_void); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:89:67 [INFO] [stdout] | [INFO] [stdout] 89 | gl::VertexAttribPointer(2, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, normal) as *const c_void); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn descendant_entities(&self, entity: &Entity) -> DescendantEntities { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn descendant_entities(&self, entity: &Entity) -> DescendantEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn descendant_entities_with_depth(&self, entity: &Entity) -> DescendantEntitiesWithDepth { [INFO] [stdout] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn descendant_entities_with_depth(&self, entity: &Entity) -> DescendantEntitiesWithDepth<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn following_entities(&self, entity: &Entity) -> FollowingEntities { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn following_entities(&self, entity: &Entity) -> FollowingEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn ancestor_entities(&self, entity: &Entity) -> AncestorEntities { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn ancestor_entities(&self, entity: &Entity) -> AncestorEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn root_entities(&self) -> Option { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn root_entities(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bigseed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `mesh_data` is never read [INFO] [stdout] --> src/voxel/chunk.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | mesh_data: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/voxel/chunk.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ChunkOutOfBoundError` [INFO] [stdout] 11 | #[fail(display = "The position of the voxel you are trying to set is out of bound")] [INFO] [stdout] 12 | pub struct ChunkOutOfBoundError; [INFO] [stdout] | -------------------- `ChunkOutOfBoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/voxel/chunk.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ChunkOutOfBoundError` [INFO] [stdout] 11 | #[fail(display = "The position of the voxel you are trying to set is out of bound")] [INFO] [stdout] 12 | pub struct ChunkOutOfBoundError; [INFO] [stdout] | -------------------- `ChunkOutOfBoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:83:67 [INFO] [stdout] | [INFO] [stdout] 83 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, position) as *const c_void); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:86:65 [INFO] [stdout] | [INFO] [stdout] 86 | gl::VertexAttribIPointer(1, 1, gl::UNSIGNED_BYTE, size, offset_of!(Vertex, color_index) as *const c_void); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:89:67 [INFO] [stdout] | [INFO] [stdout] 89 | gl::VertexAttribPointer(2, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, normal) as *const c_void); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn descendant_entities(&self, entity: &Entity) -> DescendantEntities { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn descendant_entities(&self, entity: &Entity) -> DescendantEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn descendant_entities_with_depth(&self, entity: &Entity) -> DescendantEntitiesWithDepth { [INFO] [stdout] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn descendant_entities_with_depth(&self, entity: &Entity) -> DescendantEntitiesWithDepth<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn following_entities(&self, entity: &Entity) -> FollowingEntities { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn following_entities(&self, entity: &Entity) -> FollowingEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn ancestor_entities(&self, entity: &Entity) -> AncestorEntities { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn ancestor_entities(&self, entity: &Entity) -> AncestorEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene_tree.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn root_entities(&self) -> Option { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn root_entities(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, syn v0.10.8, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "9b64166d27048e8694b7128002564b350457499a12faca82faeeb32f83c05478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b64166d27048e8694b7128002564b350457499a12faca82faeeb32f83c05478", kill_on_drop: false }` [INFO] [stdout] 9b64166d27048e8694b7128002564b350457499a12faca82faeeb32f83c05478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c4610133882374c0374a74f2f3f2a9fe954728e6cb57ac1e1b3c4c794dcec2d [INFO] running `Command { std: "docker" "start" "-a" "0c4610133882374c0374a74f2f3f2a9fe954728e6cb57ac1e1b3c4c794dcec2d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: field `mesh_data` is never read [INFO] [stderr] --> src/voxel/chunk.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Chunk { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | mesh_data: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Chunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/voxel/chunk.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ChunkOutOfBoundError` [INFO] [stderr] 11 | #[fail(display = "The position of the voxel you are trying to set is out of bound")] [INFO] [stderr] 12 | pub struct ChunkOutOfBoundError; [INFO] [stderr] | -------------------- `ChunkOutOfBoundError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/voxel/chunk.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ChunkOutOfBoundError` [INFO] [stderr] 11 | #[fail(display = "The position of the voxel you are trying to set is out of bound")] [INFO] [stderr] 12 | pub struct ChunkOutOfBoundError; [INFO] [stderr] | -------------------- `ChunkOutOfBoundError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/mesh.rs:83:67 [INFO] [stderr] | [INFO] [stderr] 83 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, position) as *const c_void); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/mesh.rs:86:65 [INFO] [stderr] | [INFO] [stderr] 86 | gl::VertexAttribIPointer(1, 1, gl::UNSIGNED_BYTE, size, offset_of!(Vertex, color_index) as *const c_void); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/mesh.rs:89:67 [INFO] [stderr] | [INFO] [stderr] 89 | gl::VertexAttribPointer(2, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, normal) as *const c_void); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scene_tree.rs:81:32 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn descendant_entities(&self, entity: &Entity) -> DescendantEntities { [INFO] [stderr] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 81 | pub fn descendant_entities(&self, entity: &Entity) -> DescendantEntities<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scene_tree.rs:92:43 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn descendant_entities_with_depth(&self, entity: &Entity) -> DescendantEntitiesWithDepth { [INFO] [stderr] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 92 | pub fn descendant_entities_with_depth(&self, entity: &Entity) -> DescendantEntitiesWithDepth<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scene_tree.rs:102:31 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn following_entities(&self, entity: &Entity) -> FollowingEntities { [INFO] [stderr] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 102 | pub fn following_entities(&self, entity: &Entity) -> FollowingEntities<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scene_tree.rs:112:30 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn ancestor_entities(&self, entity: &Entity) -> AncestorEntities { [INFO] [stderr] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 112 | pub fn ancestor_entities(&self, entity: &Entity) -> AncestorEntities<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scene_tree.rs:123:26 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn root_entities(&self) -> Option { [INFO] [stderr] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 123 | pub fn root_entities(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `bigseed` (lib) generated 11 warnings [INFO] [stderr] warning: `bigseed` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, syn v0.10.8, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bigseed-1f10738713d0e389) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test voxel::chunk::tests::set_voxel ... ok [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/bigseed-1f10738713d0e389` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "0c4610133882374c0374a74f2f3f2a9fe954728e6cb57ac1e1b3c4c794dcec2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4610133882374c0374a74f2f3f2a9fe954728e6cb57ac1e1b3c4c794dcec2d", kill_on_drop: false }` [INFO] [stdout] 0c4610133882374c0374a74f2f3f2a9fe954728e6cb57ac1e1b3c4c794dcec2d