[INFO] cloning repository https://github.com/xea/visrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xea/visrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxea%2Fvisrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxea%2Fvisrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aec742ce5656d8f0bcd3b7821647cd52dccc322f [INFO] checking xea/visrs against master#a299aa5df79dd8e5a1405b97ddd7b367b61eecc6 for pr-125923-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxea%2Fvisrs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xea/visrs on toolchain a299aa5df79dd8e5a1405b97ddd7b367b61eecc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a299aa5df79dd8e5a1405b97ddd7b367b61eecc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xea/visrs [INFO] finished tweaking git repo https://github.com/xea/visrs [INFO] tweaked toml for git repo https://github.com/xea/visrs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xea/visrs 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" "+a299aa5df79dd8e5a1405b97ddd7b367b61eecc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.2.8 [INFO] [stderr] Downloaded winit v0.5.11 [INFO] [stderr] Downloaded dlib v0.3.1 [INFO] [stderr] Downloaded shared_library v0.1.5 [INFO] [stderr] Downloaded wayland-window v0.4.4 [INFO] [stderr] Downloaded backtrace v0.2.3 [INFO] [stderr] Downloaded x11-dl v2.13.0 [INFO] [stderr] Downloaded serde v0.7.15 [INFO] [stderr] Downloaded wayland-client v0.7.8 [INFO] [stderr] Downloaded wayland-kbd v0.6.3 [INFO] [stderr] Downloaded fnv v1.0.5 [INFO] [stderr] Downloaded gcc v0.3.45 [INFO] [stderr] Downloaded rustc-demangle v0.1.4 [INFO] [stderr] Downloaded backtrace-sys v0.1.10 [INFO] [stderr] Downloaded itoa v0.3.1 [INFO] [stderr] Downloaded gleam v0.2.32 [INFO] [stderr] Downloaded core-graphics v0.4.2 [INFO] [stderr] Downloaded wayland-scanner v0.7.8 [INFO] [stderr] Downloaded libc v0.2.21 [INFO] [stderr] Downloaded android_glue v0.2.2 [INFO] [stderr] Downloaded memmap v0.4.0 [INFO] [stderr] Downloaded byteorder v1.0.0 [INFO] [stderr] Downloaded target_build_utils v0.3.0 [INFO] [stderr] Downloaded wayland-sys v0.7.8 [INFO] [stderr] Downloaded dtoa v0.4.1 [INFO] [stderr] Downloaded serde v0.9.14 [INFO] [stderr] Downloaded glutin v0.7.4 [INFO] [stderr] Downloaded cocoa v0.5.2 [INFO] [stderr] Downloaded tempfile v2.1.5 [INFO] [stderr] Downloaded log v0.3.7 [INFO] [stderr] Downloaded num-traits v0.1.37 [INFO] [stderr] Downloaded libloading v0.3.4 [INFO] [stderr] Downloaded glium v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+a299aa5df79dd8e5a1405b97ddd7b367b61eecc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9a90beffb3ae0b390e7a3c5c1112e22b6939b8b6c7e74d5c1f2f3638ed45e62 [INFO] running `Command { std: "docker" "start" "-a" "e9a90beffb3ae0b390e7a3c5c1112e22b6939b8b6c7e74d5c1f2f3638ed45e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9a90beffb3ae0b390e7a3c5c1112e22b6939b8b6c7e74d5c1f2f3638ed45e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a90beffb3ae0b390e7a3c5c1112e22b6939b8b6c7e74d5c1f2f3638ed45e62", kill_on_drop: false }` [INFO] [stdout] e9a90beffb3ae0b390e7a3c5c1112e22b6939b8b6c7e74d5c1f2f3638ed45e62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+a299aa5df79dd8e5a1405b97ddd7b367b61eecc6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 090c263ff042134810cf199a732b13fa1f8dd681a09e0d96ae63600ad22c3205 [INFO] running `Command { std: "docker" "start" "-a" "090c263ff042134810cf199a732b13fa1f8dd681a09e0d96ae63600ad22c3205", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling serde v0.9.14 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.4 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling x11-dl v2.13.0 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling target_build_utils v0.3.0 [INFO] [stderr] Compiling wayland-client v0.7.8 [INFO] [stderr] Compiling glutin v0.7.4 [INFO] [stderr] Compiling glium v0.16.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] error: could not compile `target_build_utils` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/a299aa5df79dd8e5a1405b97ddd7b367b61eecc6/bin/rustc --crate-name target_build_utils --edition=2015 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/target_build_utils-0.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="serde_json"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "serde_json"))' -C metadata=045d6901a6b748a8 -C extra-filename=-045d6901a6b748a8 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern phf=/opt/rustwide/target/debug/deps/libphf-4a42bd69d611b0e7.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-233014d9172a131d.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "090c263ff042134810cf199a732b13fa1f8dd681a09e0d96ae63600ad22c3205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "090c263ff042134810cf199a732b13fa1f8dd681a09e0d96ae63600ad22c3205", kill_on_drop: false }` [INFO] [stdout] 090c263ff042134810cf199a732b13fa1f8dd681a09e0d96ae63600ad22c3205 [INFO] checking xea/visrs against try#8585d8c57bfa6d7d66340412e06b5611fa79cc61 for pr-125923-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxea%2Fvisrs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xea/visrs on toolchain 8585d8c57bfa6d7d66340412e06b5611fa79cc61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8585d8c57bfa6d7d66340412e06b5611fa79cc61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xea/visrs [INFO] finished tweaking git repo https://github.com/xea/visrs [INFO] tweaked toml for git repo https://github.com/xea/visrs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xea/visrs 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" "+8585d8c57bfa6d7d66340412e06b5611fa79cc61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8585d8c57bfa6d7d66340412e06b5611fa79cc61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9ecc96182bfd0681e5021b7ac728cded3eb5287209839c04f2fbaf0b14bba4f [INFO] running `Command { std: "docker" "start" "-a" "a9ecc96182bfd0681e5021b7ac728cded3eb5287209839c04f2fbaf0b14bba4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9ecc96182bfd0681e5021b7ac728cded3eb5287209839c04f2fbaf0b14bba4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ecc96182bfd0681e5021b7ac728cded3eb5287209839c04f2fbaf0b14bba4f", kill_on_drop: false }` [INFO] [stdout] a9ecc96182bfd0681e5021b7ac728cded3eb5287209839c04f2fbaf0b14bba4f [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=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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8585d8c57bfa6d7d66340412e06b5611fa79cc61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1df3f1e9010562e02a801ee5b87d64ddd431c816b1539f7105715efc9c00af93 [INFO] running `Command { std: "docker" "start" "-a" "1df3f1e9010562e02a801ee5b87d64ddd431c816b1539f7105715efc9c00af93", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling serde v0.9.14 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.4 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Compiling x11-dl v2.13.0 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling wayland-client v0.7.8 [INFO] [stderr] Compiling target_build_utils v0.3.0 [INFO] [stderr] Compiling glutin v0.7.4 [INFO] [stderr] Compiling glium v0.16.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.7.8 [INFO] [stderr] Checking wayland-kbd v0.6.3 [INFO] [stderr] Checking wayland-window v0.4.4 [INFO] [stderr] Checking winit v0.5.11 [INFO] [stderr] Checking visrs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `EmptyUniforms`, `UniformValue`, and `UniformsStorage` [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use glium::uniforms::{EmptyUniforms, UniformValue, UniformsStorage}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EmptyUniforms`, `UniformValue`, and `UniformsStorage` [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use glium::uniforms::{EmptyUniforms, UniformValue, UniformsStorage}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(facade: &Facade, shape: &Shape, vertex_shader: &str, fragment_shader: &str) -> Scene { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(facade: &dyn Facade, shape: &Shape, vertex_shader: &str, fragment_shader: &str) -> Scene { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(facade: &Facade, shape: &Shape, vertex_shader: &str, fragment_shader: &str) -> Scene { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(facade: &dyn Facade, shape: &Shape, vertex_shader: &str, fragment_shader: &str) -> Scene { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/main.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | fn update_state(scene: &mut Scene, state: &mut ProgramState) -> () { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/main.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | &Event::Resized(width, height) => (), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/main.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | &Event::Resized(width, height) => (), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `limit_rate` is never used [INFO] [stdout] --> src/main.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | fn limit_rate(frame_start: &Instant) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 139 | fn main() -> () { [INFO] [stdout] | --------------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 149 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [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: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: unused variable: `scene` [INFO] [stdout] --> src/main.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | fn update_state(scene: &mut Scene, state: &mut ProgramState) -> () { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/main.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | &Event::Resized(width, height) => (), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/main.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | &Event::Resized(width, height) => (), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `limit_rate` is never used [INFO] [stdout] --> src/main.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | fn limit_rate(frame_start: &Instant) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 139 | fn main() -> () { [INFO] [stdout] | --------------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 149 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [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: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.00s [INFO] running `Command { std: "docker" "inspect" "1df3f1e9010562e02a801ee5b87d64ddd431c816b1539f7105715efc9c00af93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1df3f1e9010562e02a801ee5b87d64ddd431c816b1539f7105715efc9c00af93", kill_on_drop: false }` [INFO] [stdout] 1df3f1e9010562e02a801ee5b87d64ddd431c816b1539f7105715efc9c00af93