[INFO] cloning repository https://github.com/y-kitamu/viewer3d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y-kitamu/viewer3d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-kitamu%2Fviewer3d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-kitamu%2Fviewer3d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ab6b3f4da6232972efc35ff8a45de76a002eca4 [INFO] checking y-kitamu/viewer3d against master#c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-kitamu%2Fviewer3d" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/y-kitamu/viewer3d on toolchain c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/y-kitamu/viewer3d [INFO] finished tweaking git repo https://github.com/y-kitamu/viewer3d [INFO] tweaked toml for git repo https://github.com/y-kitamu/viewer3d written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/y-kitamu/viewer3d 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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quick-error v2.0.1 [INFO] [stderr] Downloaded byteordered v0.6.0 [INFO] [stderr] Downloaded nifti v0.16.0 [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded glium v0.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08606769af688a133bcc9f960691770f536ee6ad6274c01f23fbb7755c3d8bb5 [INFO] running `Command { std: "docker" "start" "-a" "08606769af688a133bcc9f960691770f536ee6ad6274c01f23fbb7755c3d8bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08606769af688a133bcc9f960691770f536ee6ad6274c01f23fbb7755c3d8bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08606769af688a133bcc9f960691770f536ee6ad6274c01f23fbb7755c3d8bb5", kill_on_drop: false }` [INFO] [stdout] 08606769af688a133bcc9f960691770f536ee6ad6274c01f23fbb7755c3d8bb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 028447fbf50a655180e37d58b2870331ab15b154f6ce33eea7abbe4a5167e509 [INFO] running `Command { std: "docker" "start" "-a" "028447fbf50a655180e37d58b2870331ab15b154f6ce33eea7abbe4a5167e509", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Compiling glutin v0.31.2 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking xkbcommon-dl v0.4.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glium v0.34.0 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking byteordered v0.6.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Checking nifti v0.16.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking viewer3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `glium` is imported redundantly [INFO] [stdout] --> src/view/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glium; [INFO] [stdout] | ^^^^^ the item `glium` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glium` is imported redundantly [INFO] [stdout] --> src/view/simple3d.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glium; [INFO] [stdout] | ^^^^^ the item `glium` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tracing_subscriber` is imported redundantly [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the item `tracing_subscriber` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glium` is imported redundantly [INFO] [stdout] --> src/view/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glium; [INFO] [stdout] | ^^^^^ the item `glium` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glium` is imported redundantly [INFO] [stdout] --> src/view/simple3d.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glium; [INFO] [stdout] | ^^^^^ the item `glium` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tracing_subscriber` is imported redundantly [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the item `tracing_subscriber` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deserialize` is never used [INFO] [stdout] --> src/io.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Image3D { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn deserialize(path: &Path) -> Image3D { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stem` is never read [INFO] [stdout] --> src/shader.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ShaderSrc { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | pub stem: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/view/simple.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | implement_vertex!(SimpleVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `new` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/view/simple.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | implement_vertex!(SimpleVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `new` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/view/simple3d.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | implement_vertex!(Simple3DVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `new` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/view/simple3d.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | implement_vertex!(Simple3DVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `new` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deserialize` is never used [INFO] [stdout] --> src/io.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Image3D { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn deserialize(path: &Path) -> Image3D { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stem` is never read [INFO] [stdout] --> src/shader.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ShaderSrc { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | pub stem: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/view/simple.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | implement_vertex!(SimpleVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `new` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/view/simple.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | implement_vertex!(SimpleVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `new` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/view/simple3d.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | implement_vertex!(Simple3DVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `new` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/view/simple3d.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | implement_vertex!(Simple3DVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `new` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "028447fbf50a655180e37d58b2870331ab15b154f6ce33eea7abbe4a5167e509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "028447fbf50a655180e37d58b2870331ab15b154f6ce33eea7abbe4a5167e509", kill_on_drop: false }` [INFO] [stdout] 028447fbf50a655180e37d58b2870331ab15b154f6ce33eea7abbe4a5167e509 [INFO] checking y-kitamu/viewer3d against try#5946bac294aa8e579f74aa4a4d1f443d3b5d89f8 for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-kitamu%2Fviewer3d" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/y-kitamu/viewer3d on toolchain 5946bac294aa8e579f74aa4a4d1f443d3b5d89f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/y-kitamu/viewer3d [INFO] finished tweaking git repo https://github.com/y-kitamu/viewer3d [INFO] tweaked toml for git repo https://github.com/y-kitamu/viewer3d written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/y-kitamu/viewer3d 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" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b580d3f0f2cc75555518435d5ec74526b9c7d43dc813f24e48a656ada430267 [INFO] running `Command { std: "docker" "start" "-a" "8b580d3f0f2cc75555518435d5ec74526b9c7d43dc813f24e48a656ada430267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b580d3f0f2cc75555518435d5ec74526b9c7d43dc813f24e48a656ada430267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b580d3f0f2cc75555518435d5ec74526b9c7d43dc813f24e48a656ada430267", kill_on_drop: false }` [INFO] [stdout] 8b580d3f0f2cc75555518435d5ec74526b9c7d43dc813f24e48a656ada430267 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f56b17d2bed22d9e95988471d313a2e1233a67c5e666b95f75920dbf82b3610 [INFO] running `Command { std: "docker" "start" "-a" "4f56b17d2bed22d9e95988471d313a2e1233a67c5e666b95f75920dbf82b3610", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling glutin v0.31.2 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling glium v0.34.0 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking byteordered v0.6.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking nifti v0.16.0 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stdout] error[E0310]: the associated type `::UserEvent` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.10/src/platform/run_on_demand.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | F: FnMut(Event, &EventLoopWindowTarget); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the associated type `::UserEvent` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `::UserEvent` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.10/src/event.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum Event { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 69 | F: FnMut(Event, &EventLoopWindowTarget), ::UserEvent: 'static; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the associated type `::UserEvent` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.10/src/platform/pump_events.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | F: FnMut(Event, &EventLoopWindowTarget); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the associated type `::UserEvent` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `::UserEvent` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.10/src/event.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum Event { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 177 | F: FnMut(Event, &EventLoopWindowTarget), ::UserEvent: 'static; [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winit` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "4f56b17d2bed22d9e95988471d313a2e1233a67c5e666b95f75920dbf82b3610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f56b17d2bed22d9e95988471d313a2e1233a67c5e666b95f75920dbf82b3610", kill_on_drop: false }` [INFO] [stdout] 4f56b17d2bed22d9e95988471d313a2e1233a67c5e666b95f75920dbf82b3610