[INFO] fetching crate glsl-layout2 0.5.1... [INFO] testing glsl-layout2-0.5.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate glsl-layout2 0.5.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate glsl-layout2 0.5.1 [INFO] finished tweaking crates.io crate glsl-layout2 0.5.1 [INFO] tweaked toml for crates.io crate glsl-layout2 0.5.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate glsl-layout2 0.5.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding glam v0.23.0 (available: v0.30.5) [INFO] [stderr] Adding nalgebra v0.32.6 (available: v0.34.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2d376aa5bede734a7defbe1b54cb3ea19ec540db12577c6f6682c3d64ca38c3 [INFO] running `Command { std: "docker" "start" "-a" "b2d376aa5bede734a7defbe1b54cb3ea19ec540db12577c6f6682c3d64ca38c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2d376aa5bede734a7defbe1b54cb3ea19ec540db12577c6f6682c3d64ca38c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d376aa5bede734a7defbe1b54cb3ea19ec540db12577c6f6682c3d64ca38c3", kill_on_drop: false }` [INFO] [stdout] b2d376aa5bede734a7defbe1b54cb3ea19ec540db12577c6f6682c3d64ca38c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29b5f428febf36e5a42d1e99372d27d96ea6cab3a0e3513e9c1b3ed3813deb2e [INFO] running `Command { std: "docker" "start" "-a" "29b5f428febf36e5a42d1e99372d27d96ea6cab3a0e3513e9c1b3ed3813deb2e", kill_on_drop: false }` [INFO] [stderr] Compiling glsl-layout-derive2 v0.4.0 [INFO] [stderr] Compiling glsl-layout2 v0.5.1 (/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 0.78s [INFO] running `Command { std: "docker" "inspect" "29b5f428febf36e5a42d1e99372d27d96ea6cab3a0e3513e9c1b3ed3813deb2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29b5f428febf36e5a42d1e99372d27d96ea6cab3a0e3513e9c1b3ed3813deb2e", kill_on_drop: false }` [INFO] [stdout] 29b5f428febf36e5a42d1e99372d27d96ea6cab3a0e3513e9c1b3ed3813deb2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9b358bd87d2bdb643ff688d610875ab7309e4567279104fb57df1b9168ecbfa [INFO] running `Command { std: "docker" "start" "-a" "e9b358bd87d2bdb643ff688d610875ab7309e4567279104fb57df1b9168ecbfa", kill_on_drop: false }` [INFO] [stderr] Compiling glsl-layout2 v0.5.1 (/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_derive2` crate, try updating your dependency with `cargo update -p glsl_layout_derive2` [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_derive2` crate, try updating your dependency with `cargo update -p glsl_layout_derive2` [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.44s [INFO] running `Command { std: "docker" "inspect" "e9b358bd87d2bdb643ff688d610875ab7309e4567279104fb57df1b9168ecbfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b358bd87d2bdb643ff688d610875ab7309e4567279104fb57df1b9168ecbfa", kill_on_drop: false }` [INFO] [stdout] e9b358bd87d2bdb643ff688d610875ab7309e4567279104fb57df1b9168ecbfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 67bf3d7f0c965e589f3b73a4a2e6261c1dacfa4ab4731307784fdf86735b20b1 [INFO] running `Command { std: "docker" "start" "-a" "67bf3d7f0c965e589f3b73a4a2e6261c1dacfa4ab4731307784fdf86735b20b1", 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: `glsl-layout2` (lib) generated 2 warnings (run `cargo fix --lib -p glsl-layout2` to apply 2 suggestions) [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_derive2` crate, try updating your dependency with `cargo update -p glsl_layout_derive2` [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_derive2` crate, try updating your dependency with `cargo update -p glsl_layout_derive2` [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-layout2` (lib test) generated 6 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/glsl_layout2-d0817fa3040f87a8) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test array::test_array ... ok [INFO] [stdout] test test_array ... ok [INFO] [stderr] Doc-tests glsl_layout2 [INFO] [stdout] test test_derive ... 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] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/vec.rs - vec::ivec3 (line 127) ... FAILED [INFO] [stdout] test src/vec.rs - vec::uvec3 (line 178) ... FAILED [INFO] [stdout] test src/vec.rs - vec::dvec4 (line 297) ... FAILED [INFO] [stdout] test src/vec.rs - vec::uvec4 (line 195) ... FAILED [INFO] [stdout] test src/vec.rs - vec::ivec4 (line 144) ... FAILED [INFO] [stdout] test src/vec.rs - vec::ivec2 (line 110) ... FAILED [INFO] [stdout] test src/vec.rs - vec::bvec4 (line 93) ... FAILED [INFO] [stdout] test src/vec.rs - vec::bvec3 (line 76) ... FAILED [INFO] [stdout] test src/vec.rs - vec::vec3 (line 229) ... FAILED [INFO] [stdout] test src/vec.rs - vec::vec2 (line 212) ... FAILED [INFO] [stdout] test src/vec.rs - vec::bvec2 (line 59) ... FAILED [INFO] [stdout] test src/vec.rs - vec::dvec2 (line 263) ... FAILED [INFO] [stdout] test src/vec.rs - vec::vec4 (line 246) ... FAILED [INFO] [stdout] test src/vec.rs - vec::dvec3 (line 280) ... FAILED [INFO] [stdout] test src/vec.rs - vec::uvec2 (line 161) ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/vec.rs - vec::ivec3 (line 127) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::uvec3 (line 178) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::dvec4 (line 297) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:298:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::uvec4 (line 195) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::ivec4 (line 144) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::ivec2 (line 110) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::bvec4 (line 93) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::bvec3 (line 76) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::vec3 (line 229) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::vec2 (line 212) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::bvec2 (line 59) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::dvec2 (line 263) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:264:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::vec4 (line 246) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::dvec3 (line 280) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vec.rs - vec::uvec2 (line 161) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/vec.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `glsl_layout` [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate glsl_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Uniform` in this scope [INFO] [stdout] --> src/lib.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Default, Clone, Copy, Uniform)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 16 + use glsl_layout2::Uniform; [INFO] [stdout] | [INFO] [stdout] 16 + use glsl_layout_derive2::Uniform; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 22 | x: int, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 22 - x: int, [INFO] [stdout] 22 + x: i32, [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 16 + use glsl_layout2::int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `vec3` in this scope [INFO] [stdout] --> src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 23 | y: vec3, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 16 + use glsl_layout2::vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `float` in this scope [INFO] [stdout] --> src/lib.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 24 | z: float, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 24 - z: float, [INFO] [stdout] 24 + z: f32, [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 16 + use glsl_layout2::float; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `mat4x4` in this scope [INFO] [stdout] --> src/lib.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 25 | w: mat4x4, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 16 + use glsl_layout2::mat4x4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Uniform` in this scope [INFO] [stdout] --> src/lib.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 30 | type UFoo = ::Std140; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 16 + use glsl_layout2::Uniform; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 34 | round_up_to(size_of::(), 16), // `vec3` has alignment of size `vec4` [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 34 - round_up_to(size_of::(), 16), // `vec3` has alignment of size `vec4` [INFO] [stdout] 34 + round_up_to(size_of::(), 16), // `vec3` has alignment of size `vec4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 16 + use glsl_layout2::int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `vec3` in this scope [INFO] [stdout] --> src/lib.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 40 | round_up_to(offset_of!(UFoo: y) + size_of::(), 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 16 + use glsl_layout2::vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `std140` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 21 | struct Foo { [INFO] [stdout] | ---------- method `std140` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 50 | let foo_uniform = Foo { [INFO] [stdout] | ___________________- [INFO] [stdout] 51 | | x: 2, [INFO] [stdout] 52 | | y: [0.0; 3].into(), [INFO] [stdout] 53 | | z: 0.0, [INFO] [stdout] ... | [INFO] [stdout] 56 | | b: 0.0, [INFO] [stdout] 57 | | }.std140(); [INFO] [stdout] | | -^^^^^^ method not found in `Foo` [INFO] [stdout] | |__| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `std140`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `glsl_layout2::Uniform` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] src/vec.rs - vec::bvec2 (line 59) [INFO] [stdout] src/vec.rs - vec::bvec3 (line 76) [INFO] [stdout] src/vec.rs - vec::bvec4 (line 93) [INFO] [stdout] src/vec.rs - vec::dvec2 (line 263) [INFO] [stdout] src/vec.rs - vec::dvec3 (line 280) [INFO] [stdout] src/vec.rs - vec::dvec4 (line 297) [INFO] [stdout] src/vec.rs - vec::ivec2 (line 110) [INFO] [stdout] src/vec.rs - vec::ivec3 (line 127) [INFO] [stdout] src/vec.rs - vec::ivec4 (line 144) [INFO] [stdout] src/vec.rs - vec::uvec2 (line 161) [INFO] [stdout] src/vec.rs - vec::uvec3 (line 178) [INFO] [stdout] src/vec.rs - vec::uvec4 (line 195) [INFO] [stdout] src/vec.rs - vec::vec2 (line 212) [INFO] [stdout] src/vec.rs - vec::vec3 (line 229) [INFO] [stdout] src/vec.rs - vec::vec4 (line 246) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "67bf3d7f0c965e589f3b73a4a2e6261c1dacfa4ab4731307784fdf86735b20b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67bf3d7f0c965e589f3b73a4a2e6261c1dacfa4ab4731307784fdf86735b20b1", kill_on_drop: false }` [INFO] [stdout] 67bf3d7f0c965e589f3b73a4a2e6261c1dacfa4ab4731307784fdf86735b20b1