[INFO] fetching crate shader-types 0.2.2... [INFO] checking shader-types-0.2.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate shader-types 0.2.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate shader-types 0.2.2 [INFO] finished tweaking crates.io crate shader-types 0.2.2 [INFO] tweaked toml for crates.io crate shader-types 0.2.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate shader-types 0.2.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding glsl-layout v0.3.2 (available: v0.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac3789ef32033cc42fc49222e255d1a21e6864517cb2fdd8988fe2910de614ee [INFO] running `Command { std: "docker" "start" "-a" "ac3789ef32033cc42fc49222e255d1a21e6864517cb2fdd8988fe2910de614ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac3789ef32033cc42fc49222e255d1a21e6864517cb2fdd8988fe2910de614ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac3789ef32033cc42fc49222e255d1a21e6864517cb2fdd8988fe2910de614ee", kill_on_drop: false }` [INFO] [stdout] ac3789ef32033cc42fc49222e255d1a21e6864517cb2fdd8988fe2910de614ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8f9ea14a308ebe31299816b3eeeb92477ff06231a7acb6dbba3159bf2499982 [INFO] running `Command { std: "docker" "start" "-a" "f8f9ea14a308ebe31299816b3eeeb92477ff06231a7acb6dbba3159bf2499982", kill_on_drop: false }` [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking shader-types v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling std140-macros v0.1.2 [INFO] [stderr] Compiling glsl-layout-derive v0.3.2 [INFO] [stderr] Checking std140 v0.2.6 [INFO] [stderr] Checking glsl-layout v0.3.2 [INFO] [stdout] warning: struct `Test1` is never constructed [INFO] [stdout] --> src/lib.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 537 | struct Test1 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Test2` is never constructed [INFO] [stdout] --> src/lib.rs:543:12 [INFO] [stdout] | [INFO] [stdout] 543 | struct Test2 { [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:548:14 [INFO] [stdout] | [INFO] [stdout] 548 | #[derive(AsStd140)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AsStd140` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_GLSL_LAYOUT_Test3` [INFO] [stdout] 549 | struct Test3 { [INFO] [stdout] | ----- `Test3` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsStd140` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsStd140` 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 `AsStd140` (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/lib.rs:558:32 [INFO] [stdout] | [INFO] [stdout] 558 | assert_eq!((&unsafe { &*null::() }.b) as *const i32 as usize, 12); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "f8f9ea14a308ebe31299816b3eeeb92477ff06231a7acb6dbba3159bf2499982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f9ea14a308ebe31299816b3eeeb92477ff06231a7acb6dbba3159bf2499982", kill_on_drop: false }` [INFO] [stdout] f8f9ea14a308ebe31299816b3eeeb92477ff06231a7acb6dbba3159bf2499982