[INFO] fetching crate glsl-layout 0.5.0... [INFO] testing glsl-layout-0.5.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate glsl-layout 0.5.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate glsl-layout 0.5.0 [INFO] finished tweaking crates.io crate glsl-layout 0.5.0 [INFO] tweaked toml for crates.io crate glsl-layout 0.5.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate glsl-layout 0.5.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding glam v0.22.0 (available: v0.30.8) [INFO] [stderr] Adding nalgebra v0.31.4 (available: v0.34.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 622c7097c08d6760fba35ba68d2fde12c791f8823e97f2a6c43ba97a22254bc9 [INFO] running `Command { std: "docker" "start" "-a" "622c7097c08d6760fba35ba68d2fde12c791f8823e97f2a6c43ba97a22254bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "622c7097c08d6760fba35ba68d2fde12c791f8823e97f2a6c43ba97a22254bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "622c7097c08d6760fba35ba68d2fde12c791f8823e97f2a6c43ba97a22254bc9", kill_on_drop: false }` [INFO] [stdout] 622c7097c08d6760fba35ba68d2fde12c791f8823e97f2a6c43ba97a22254bc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2af53ad46eef4cdff82bda5e43dc625367c15673eff16d7bf20dfa9cf1c4238 [INFO] running `Command { std: "docker" "start" "-a" "b2af53ad46eef4cdff82bda5e43dc625367c15673eff16d7bf20dfa9cf1c4238", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling glsl-layout-derive v0.4.0 [INFO] [stderr] Compiling glsl-layout v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn iter(&self) -> ArrayIter>> { [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] 74 | pub fn iter(&self) -> ArrayIter>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn iter_mut(&mut self) -> ArrayIter>> { [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] 78 | pub fn iter_mut(&mut self) -> ArrayIter>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.93s [INFO] running `Command { std: "docker" "inspect" "b2af53ad46eef4cdff82bda5e43dc625367c15673eff16d7bf20dfa9cf1c4238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2af53ad46eef4cdff82bda5e43dc625367c15673eff16d7bf20dfa9cf1c4238", kill_on_drop: false }` [INFO] [stdout] b2af53ad46eef4cdff82bda5e43dc625367c15673eff16d7bf20dfa9cf1c4238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1df64343601e6fbff84e7a12c7ad79d0e569e30364b8fd3fd111dfa2ab8353c [INFO] running `Command { std: "docker" "start" "-a" "b1df64343601e6fbff84e7a12c7ad79d0e569e30364b8fd3fd111dfa2ab8353c", kill_on_drop: false }` [INFO] [stderr] Compiling glsl-layout v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn iter(&self) -> ArrayIter>> { [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] 74 | pub fn iter(&self) -> ArrayIter>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn iter_mut(&mut self) -> ArrayIter>> { [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] 78 | pub fn iter_mut(&mut self) -> ArrayIter>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> src/lib.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | struct Test { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> src/lib.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | struct Test { [INFO] [stdout] | ^^^^ [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/lib.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Copy, Clone, Uniform)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Uniform` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_GLSL_LAYOUT_Test` and up 2 bodies [INFO] [stdout] 112 | struct Test { [INFO] [stdout] | ---- `Test` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Uniform` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Uniform` may come from an old version of the `glsl_layout_derive` crate, try updating your dependency with `cargo update -p glsl_layout_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 `Uniform` (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/lib.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Copy, Clone, Uniform)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Uniform` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_GLSL_LAYOUT_Test` and up 2 bodies [INFO] [stdout] 123 | struct Test { [INFO] [stdout] | ---- `Test` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Uniform` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Uniform` may come from an old version of the `glsl_layout_derive` crate, try updating your dependency with `cargo update -p glsl_layout_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 `Uniform` (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/array.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn iter(&self) -> ArrayIter>> { [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] 74 | pub fn iter(&self) -> ArrayIter>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn iter_mut(&mut self) -> ArrayIter>> { [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] 78 | pub fn iter_mut(&mut self) -> ArrayIter>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "b1df64343601e6fbff84e7a12c7ad79d0e569e30364b8fd3fd111dfa2ab8353c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1df64343601e6fbff84e7a12c7ad79d0e569e30364b8fd3fd111dfa2ab8353c", kill_on_drop: false }` [INFO] [stdout] b1df64343601e6fbff84e7a12c7ad79d0e569e30364b8fd3fd111dfa2ab8353c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30a1036ea4f8b8115e99b1bd8eef9bbc3b44b35c419bcc3d79be500d73c3e73b [INFO] running `Command { std: "docker" "start" "-a" "30a1036ea4f8b8115e99b1bd8eef9bbc3b44b35c419bcc3d79be500d73c3e73b", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/array.rs:74:17 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn iter(&self) -> ArrayIter>> { [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] 74 | pub fn iter(&self) -> ArrayIter>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/array.rs:78:21 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn iter_mut(&mut self) -> ArrayIter>> { [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] 78 | pub fn iter_mut(&mut self) -> ArrayIter>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: struct `Test` is never constructed [INFO] [stderr] --> src/lib.rs:112:12 [INFO] [stderr] | [INFO] [stderr] 112 | struct Test { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Test` is never constructed [INFO] [stderr] --> src/lib.rs:123:12 [INFO] [stderr] | [INFO] [stderr] 123 | struct Test { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:111:27 [INFO] [stderr] | [INFO] [stderr] 111 | #[derive(Copy, Clone, Uniform)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Uniform` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_GLSL_LAYOUT_Test` and up 2 bodies [INFO] [stderr] 112 | struct Test { [INFO] [stderr] | ---- `Test` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Uniform` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Uniform` may come from an old version of the `glsl_layout_derive` crate, try updating your dependency with `cargo update -p glsl_layout_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 `Uniform` (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/lib.rs:122:27 [INFO] [stderr] | [INFO] [stderr] 122 | #[derive(Copy, Clone, Uniform)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Uniform` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_GLSL_LAYOUT_Test` and up 2 bodies [INFO] [stderr] 123 | struct Test { [INFO] [stderr] | ---- `Test` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Uniform` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Uniform` may come from an old version of the `glsl_layout_derive` crate, try updating your dependency with `cargo update -p glsl_layout_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 `Uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `glsl-layout` (lib) generated 2 warnings (run `cargo fix --lib -p glsl-layout` to apply 2 suggestions) [INFO] [stderr] warning: `glsl-layout` (lib test) generated 6 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/glsl_layout-273e7890b63ad0f0) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_derive ... ok [INFO] [stdout] test array::test_array ... ok [INFO] [stdout] test test_array ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests glsl_layout [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/vec.rs - vec::bvec4 (line 93) ... ok [INFO] [stdout] test src/vec.rs - vec::uvec2 (line 161) ... ok [INFO] [stdout] test src/vec.rs - vec::ivec4 (line 144) ... ok [INFO] [stdout] test src/vec.rs - vec::dvec3 (line 280) ... ok [INFO] [stdout] test src/vec.rs - vec::vec4 (line 246) ... ok [INFO] [stdout] test src/vec.rs - vec::vec2 (line 212) ... ok [INFO] [stdout] test src/vec.rs - vec::vec3 (line 229) ... ok [INFO] [stdout] test src/vec.rs - vec::ivec2 (line 110) ... ok [INFO] [stdout] test src/vec.rs - vec::uvec3 (line 178) ... ok [INFO] [stdout] test src/vec.rs - vec::bvec2 (line 59) ... ok [INFO] [stdout] test src/vec.rs - vec::bvec3 (line 76) ... ok [INFO] [stdout] test src/vec.rs - vec::uvec4 (line 195) ... ok [INFO] [stdout] test src/vec.rs - vec::dvec2 (line 263) ... ok [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/vec.rs - vec::dvec4 (line 297) ... ok [INFO] [stdout] test src/vec.rs - vec::ivec3 (line 127) ... ok [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default, Clone, Copy, Uniform)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Uniform` is not local [INFO] [stdout] 21 | struct Foo { [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Uniform` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Uniform` may come from an old version of the `glsl_layout_derive` crate, try updating your dependency with `cargo update -p glsl_layout_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] = help: make this doc-test a standalone test with its own `fn main() { ... }` [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 `Uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 9 | let value: &$type = &*::std::ptr::null(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 33 | offset_of!(UFoo: y), [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] warning: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 9 | let value: &$type = &*::std::ptr::null(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 39 | offset_of!(UFoo: z), [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] warning: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 9 | let value: &$type = &*::std::ptr::null(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 40 | round_up_to(offset_of!(UFoo: y) + size_of::(), 4), [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] warning: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 9 | let value: &$type = &*::std::ptr::null(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 45 | offset_of!(UFoo: b), [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] warning: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 9 | let value: &$type = &*::std::ptr::null(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 46 | offset_of!(UFoo: a) + size_of::<[[f32; 4]; 3]>(), [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] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] Test executable failed (signal: 6 (SIGABRT) (core dumped)). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (439) panicked at src/lib.rs:33:5: [INFO] [stdout] null pointer dereference occurred [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5659a052d3a2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5659a052d3a2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5659a052d3a2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5659a052d3a2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5659a053c05f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5659a053c05f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5659a050bc51 - std::io::default_write_fmt::h1ecb8c7cfa7da481 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5659a050bc51 - std::io::Write::write_fmt::h051fe4a9e4fdbf48 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5659a0510ce2 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5659a051253c - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5659a0512396 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5659a0512bc5 - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5659a0512a26 - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x5659a0510e19 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5659a050077d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5659a053ee0d - core::panicking::panic_nounwind_fmt::runtime::hf619e8fd73995337 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:117:22 [INFO] [stdout] 16: 0x5659a053ee0d - core::panicking::panic_nounwind_fmt::hc177e1bd7a48be0d [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/intrinsics/mod.rs:2435:9 [INFO] [stdout] 17: 0x5659a053efed - core::panicking::panic_null_pointer_dereference::h0eafed6fbb56ab06 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:302:5 [INFO] [stdout] 18: 0x5659a04ffcb2 - rust_out::main::h909c389308a13d94 [INFO] [stdout] 19: 0x5659a04ff193 - core::ops::function::FnOnce::call_once::he80aaf16098e337a [INFO] [stdout] 20: 0x5659a04fed66 - std::sys::backtrace::__rust_begin_short_backtrace::hd4f5856814720a68 [INFO] [stdout] 21: 0x5659a04fed49 - std::rt::lang_start::{{closure}}::hdd522a24cafb4b4b [INFO] [stdout] 22: 0x5659a050cd60 - core::ops::function::impls:: for &F>::call_once::h4967fb77e0dfb65c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5659a050cd60 - std::panicking::catch_unwind::do_call::hf7e87675c3e14c23 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5659a050cd60 - std::panicking::catch_unwind::h26f0e342004b5114 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5659a050cd60 - std::panic::catch_unwind::h9ee33ca17775d897 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5659a050cd60 - std::rt::lang_start_internal::{{closure}}::h243ba3495fa13cf8 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5659a050cd60 - std::panicking::catch_unwind::do_call::h819db0a7788e7259 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5659a050cd60 - std::panicking::catch_unwind::h23e08fb4a7b9f405 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5659a050cd60 - std::panic::catch_unwind::h7ca3d9eabb6135ff [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5659a050cd60 - std::rt::lang_start_internal::h06ad7395f4fda8d7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5659a04fed31 - std::rt::lang_start::h5d51bffdfd88737a [INFO] [stdout] 32: 0x5659a0500415 - main [INFO] [stdout] 33: 0x784bd2daa1ca - [INFO] [stdout] 34: 0x784bd2daa28b - __libc_start_main [INFO] [stdout] 35: 0x5659a04fe0c5 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] thread caused non-unwinding panic. aborting. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 15 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.94s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "30a1036ea4f8b8115e99b1bd8eef9bbc3b44b35c419bcc3d79be500d73c3e73b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a1036ea4f8b8115e99b1bd8eef9bbc3b44b35c419bcc3d79be500d73c3e73b", kill_on_drop: false }` [INFO] [stdout] 30a1036ea4f8b8115e99b1bd8eef9bbc3b44b35c419bcc3d79be500d73c3e73b