[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 try#7d2afcda7a9c043d5175cbca3ab08f0acf02b13a for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxea%2Fvisrs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xea/visrs on toolchain 7d2afcda7a9c043d5175cbca3ab08f0acf02b13a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "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-5-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" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39ffcd28592ab7598d3adeade8628ff0367acb7fbe7c36e04797e9ee53d9da2f [INFO] running `Command { std: "docker" "start" "-a" "39ffcd28592ab7598d3adeade8628ff0367acb7fbe7c36e04797e9ee53d9da2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39ffcd28592ab7598d3adeade8628ff0367acb7fbe7c36e04797e9ee53d9da2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39ffcd28592ab7598d3adeade8628ff0367acb7fbe7c36e04797e9ee53d9da2f", kill_on_drop: false }` [INFO] [stdout] 39ffcd28592ab7598d3adeade8628ff0367acb7fbe7c36e04797e9ee53d9da2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc57f2a402c409442ddfb6f1c7cb5f7d734016045ff17d70ba3fbcd73ec736f4 [INFO] running `Command { std: "docker" "start" "-a" "fc57f2a402c409442ddfb6f1c7cb5f7d734016045ff17d70ba3fbcd73ec736f4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 xml-rs v0.3.6 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling phf v0.7.21 [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 rand v0.3.15 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Compiling x11-dl v2.13.0 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Compiling wayland-client v0.7.8 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling glutin v0.7.4 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Compiling target_build_utils v0.3.0 [INFO] [stderr] Compiling glium v0.16.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Checking smallvec v0.1.8 [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 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)]` 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 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: `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)]` 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] [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: 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)]` 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 42.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [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" "fc57f2a402c409442ddfb6f1c7cb5f7d734016045ff17d70ba3fbcd73ec736f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc57f2a402c409442ddfb6f1c7cb5f7d734016045ff17d70ba3fbcd73ec736f4", kill_on_drop: false }` [INFO] [stdout] fc57f2a402c409442ddfb6f1c7cb5f7d734016045ff17d70ba3fbcd73ec736f4