[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] testing xea/visrs against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxea%2Fvisrs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xea/visrs on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.7.8 [INFO] [stderr] Downloaded wayland-window v0.4.4 [INFO] [stderr] Downloaded smallvec v0.1.8 [INFO] [stderr] Downloaded wayland-client v0.7.8 [INFO] [stderr] Downloaded core-foundation-sys v0.2.3 [INFO] [stderr] Downloaded dwmapi-sys v0.1.0 [INFO] [stderr] Downloaded cfg-if v0.1.0 [INFO] [stderr] Downloaded gleam v0.2.32 [INFO] [stderr] Downloaded bitflags v0.3.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.4 [INFO] [stderr] Downloaded gcc v0.3.45 [INFO] [stderr] Downloaded dbghelp-sys v0.2.0 [INFO] [stderr] Downloaded cocoa v0.3.3 [INFO] [stderr] Downloaded serde v0.8.23 [INFO] [stderr] Downloaded wayland-kbd v0.6.3 [INFO] [stderr] Downloaded siphasher v0.2.2 [INFO] [stderr] Downloaded backtrace-sys v0.1.10 [INFO] [stderr] Downloaded libc v0.2.21 [INFO] [stderr] Downloaded core-graphics v0.3.2 [INFO] [stderr] Downloaded dtoa v0.4.1 [INFO] [stderr] Downloaded itoa v0.3.1 [INFO] [stderr] Downloaded glium v0.16.0 [INFO] [stderr] Downloaded cocoa v0.5.2 [INFO] [stderr] Downloaded core-foundation v0.2.3 [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded tempfile v2.1.5 [INFO] [stderr] Downloaded num-traits v0.1.37 [INFO] [stderr] Downloaded khronos_api v1.0.0 [INFO] [stderr] Downloaded serde_json v0.9.10 [INFO] [stderr] Downloaded target_build_utils v0.3.0 [INFO] [stderr] Downloaded backtrace v0.2.3 [INFO] [stderr] Downloaded fnv v1.0.5 [INFO] [stderr] Downloaded log v0.3.7 [INFO] [stderr] Downloaded gl_generator v0.5.2 [INFO] [stderr] Downloaded cgl v0.1.5 [INFO] [stderr] Downloaded gdi32-sys v0.1.1 [INFO] [stderr] Downloaded xml-rs v0.3.6 [INFO] [stderr] Downloaded wayland-scanner v0.7.8 [INFO] [stderr] Downloaded phf_codegen v0.7.21 [INFO] [stderr] Downloaded serde v0.7.15 [INFO] [stderr] Downloaded android_glue v0.2.2 [INFO] [stderr] Downloaded objc v0.2.2 [INFO] [stderr] Downloaded shell32-sys v0.1.1 [INFO] [stderr] Downloaded memmap v0.4.0 [INFO] [stderr] Downloaded phf v0.7.21 [INFO] [stderr] Downloaded libloading v0.3.4 [INFO] [stderr] Downloaded core-graphics v0.4.2 [INFO] [stderr] Downloaded dlib v0.3.1 [INFO] [stderr] Downloaded winit v0.5.11 [INFO] [stderr] Downloaded phf_generator v0.7.21 [INFO] [stderr] Downloaded glutin v0.7.4 [INFO] [stderr] Downloaded shared_library v0.1.5 [INFO] [stderr] Downloaded fs2 v0.2.5 [INFO] [stderr] Downloaded x11-dl v2.13.0 [INFO] [stderr] Downloaded phf_shared v0.7.21 [INFO] [stderr] Downloaded serde v0.9.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94831d1bfe278599af8252c3b99c95bc194f8cbbe24a7f77d54c24eea790dae6 [INFO] running `Command { std: "docker" "start" "-a" "94831d1bfe278599af8252c3b99c95bc194f8cbbe24a7f77d54c24eea790dae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94831d1bfe278599af8252c3b99c95bc194f8cbbe24a7f77d54c24eea790dae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94831d1bfe278599af8252c3b99c95bc194f8cbbe24a7f77d54c24eea790dae6", kill_on_drop: false }` [INFO] [stdout] 94831d1bfe278599af8252c3b99c95bc194f8cbbe24a7f77d54c24eea790dae6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c49b3437c8de8caf46b2a665156bd39f9b837030d5391ac9dfa73e08e6979853 [INFO] running `Command { std: "docker" "start" "-a" "c49b3437c8de8caf46b2a665156bd39f9b837030d5391ac9dfa73e08e6979853", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling siphasher v0.2.2 [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 dtoa v0.4.1 [INFO] [stderr] Compiling serde v0.9.14 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling 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 gcc v0.3.45 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Compiling x11-dl v2.13.0 [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] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.7.8 [INFO] [stderr] Compiling wayland-kbd v0.6.3 [INFO] [stderr] Compiling wayland-window v0.4.4 [INFO] [stderr] Compiling winit v0.5.11 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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)]` (part of `#[warn(unused)]`) 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: associated functions `square`, `five_point_star`, and `cube` are never used [INFO] [stdout] --> src/main.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Shape { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn square() -> Shape { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn five_point_star() -> Shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn cube() -> Shape { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [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: 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: `#[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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.91s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, glutin v0.7.4, winit v0.5.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c49b3437c8de8caf46b2a665156bd39f9b837030d5391ac9dfa73e08e6979853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c49b3437c8de8caf46b2a665156bd39f9b837030d5391ac9dfa73e08e6979853", kill_on_drop: false }` [INFO] [stdout] c49b3437c8de8caf46b2a665156bd39f9b837030d5391ac9dfa73e08e6979853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e1604c2622440706790edf30708148bfd9f05462738a3dbd26e407a8c6a07d2 [INFO] running `Command { std: "docker" "start" "-a" "2e1604c2622440706790edf30708148bfd9f05462738a3dbd26e407a8c6a07d2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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)]` (part of `#[warn(unused)]`) 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: associated functions `square`, `five_point_star`, and `cube` are never used [INFO] [stdout] --> src/main.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Shape { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn square() -> Shape { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn five_point_star() -> Shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn cube() -> Shape { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [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: 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: `#[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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, glutin v0.7.4, winit v0.5.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2e1604c2622440706790edf30708148bfd9f05462738a3dbd26e407a8c6a07d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1604c2622440706790edf30708148bfd9f05462738a3dbd26e407a8c6a07d2", kill_on_drop: false }` [INFO] [stdout] 2e1604c2622440706790edf30708148bfd9f05462738a3dbd26e407a8c6a07d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 780dd16142b578e4a17d78ea54a55555b4561ebcd126298aa78c8be734577b7f [INFO] running `Command { std: "docker" "start" "-a" "780dd16142b578e4a17d78ea54a55555b4561ebcd126298aa78c8be734577b7f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused imports: `EmptyUniforms`, `UniformValue`, and `UniformsStorage` [INFO] [stderr] --> src/main.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | use glium::uniforms::{EmptyUniforms, UniformValue, UniformsStorage}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:130:25 [INFO] [stderr] | [INFO] [stderr] 130 | pub fn new(facade: &Facade, shape: &Shape, vertex_shader: &str, fragment_shader: &str) -> Scene { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 130 | pub fn new(facade: &dyn Facade, shape: &Shape, vertex_shader: &str, fragment_shader: &str) -> Scene { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scene` [INFO] [stderr] --> src/main.rs:173:17 [INFO] [stderr] | [INFO] [stderr] 173 | fn update_state(scene: &mut Scene, state: &mut ProgramState) -> () { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `width` [INFO] [stderr] --> src/main.rs:199:25 [INFO] [stderr] | [INFO] [stderr] 199 | &Event::Resized(width, height) => (), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/main.rs:199:32 [INFO] [stderr] | [INFO] [stderr] 199 | &Event::Resized(width, height) => (), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: associated functions `square`, `five_point_star`, and `cube` are never used [INFO] [stderr] --> src/main.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 62 | impl Shape { [INFO] [stderr] | ---------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn square() -> Shape { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 80 | pub fn five_point_star() -> Shape { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 92 | pub fn cube() -> Shape { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `limit_rate` is never used [INFO] [stderr] --> src/main.rs:208:4 [INFO] [stderr] | [INFO] [stderr] 208 | fn limit_rate(frame_start: &Instant) -> () { [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/main.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 139 | fn main() -> () { [INFO] [stderr] | --------------- move the `impl` block outside of this function `main` [INFO] [stderr] ... [INFO] [stderr] 149 | implement_vertex!(Vertex, position); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Vertex` is not local [INFO] [stderr] | `Vertex` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `visrs` (bin "visrs" test) generated 8 warnings (run `cargo fix --bin "visrs" -p visrs --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, glutin v0.7.4, winit v0.5.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/visrs-a7ba0df9a993d954) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/visrs-d2594ac9de66ebb9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests visrs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "780dd16142b578e4a17d78ea54a55555b4561ebcd126298aa78c8be734577b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "780dd16142b578e4a17d78ea54a55555b4561ebcd126298aa78c8be734577b7f", kill_on_drop: false }` [INFO] [stdout] 780dd16142b578e4a17d78ea54a55555b4561ebcd126298aa78c8be734577b7f