[INFO] cloning repository https://github.com/rlucas585/mod1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rlucas585/mod1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlucas585%2Fmod1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlucas585%2Fmod1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79c59ed33fee1d8269800a622fea5f8413956386 [INFO] checking rlucas585/mod1 against master#c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlucas585%2Fmod1" "/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/rlucas585/mod1 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/rlucas585/mod1 [INFO] finished tweaking git repo https://github.com/rlucas585/mod1 [INFO] tweaked toml for git repo https://github.com/rlucas585/mod1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rlucas585/mod1 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] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.95 [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] 7efb2b4ed199ba7595dd6232043182d6f2ae6e67cc995f6012b9c15a8c37057b [INFO] running `Command { std: "docker" "start" "-a" "7efb2b4ed199ba7595dd6232043182d6f2ae6e67cc995f6012b9c15a8c37057b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7efb2b4ed199ba7595dd6232043182d6f2ae6e67cc995f6012b9c15a8c37057b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7efb2b4ed199ba7595dd6232043182d6f2ae6e67cc995f6012b9c15a8c37057b", kill_on_drop: false }` [INFO] [stdout] 7efb2b4ed199ba7595dd6232043182d6f2ae6e67cc995f6012b9c15a8c37057b [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] eb6415f03c81244fa3390464ad6674561c0449f07de573247fed5ff16569fdae [INFO] running `Command { std: "docker" "start" "-a" "eb6415f03c81244fa3390464ad6674561c0449f07de573247fed5ff16569fdae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking object v0.24.0 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking nom v6.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glium v0.29.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking addr2line v0.15.1 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Checking wayland-egl v0.28.5 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking mod1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 100 | let max_x = get_edge_val!(max_by_key, vertices, x); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 101 | let min_x = get_edge_val!(min_by_key, vertices, x); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 102 | let max_y = get_edge_val!(max_by_key, vertices, y); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 103 | let min_y = get_edge_val!(min_by_key, vertices, y); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 134 | let max_x = get_edge_val!(max_by_key, vertices, x); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | let min_x = get_edge_val!(min_by_key, vertices, x); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 136 | let max_y = get_edge_val!(max_by_key, vertices, y); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 137 | let min_y = get_edge_val!(min_by_key, vertices, y); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glium` is imported redundantly [INFO] [stdout] --> src/render/types.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: unused imports: `DrawParameters`, `IndexBuffer` [INFO] [stdout] --> src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use glium::{self, glutin, DrawParameters, IndexBuffer, Program, Surface, VertexBuffer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glium` is imported redundantly [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use glium::{self, glutin, DrawParameters, IndexBuffer, Program, Surface, VertexBuffer}; [INFO] [stdout] | ^^^^ the item `glium` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 100 | let max_x = get_edge_val!(max_by_key, vertices, x); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 101 | let min_x = get_edge_val!(min_by_key, vertices, x); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 102 | let max_y = get_edge_val!(max_by_key, vertices, y); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 103 | let min_y = get_edge_val!(min_by_key, vertices, y); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 134 | let max_x = get_edge_val!(max_by_key, vertices, x); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | let min_x = get_edge_val!(min_by_key, vertices, x); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 136 | let max_y = get_edge_val!(max_by_key, vertices, y); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/map/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .$axis(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 137 | let min_y = get_edge_val!(min_by_key, vertices, y); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get_edge_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glium` is imported redundantly [INFO] [stdout] --> src/render/types.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: unused imports: `DrawParameters`, `IndexBuffer` [INFO] [stdout] --> src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use glium::{self, glutin, DrawParameters, IndexBuffer, Program, Surface, VertexBuffer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glium` is imported redundantly [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use glium::{self, glutin, DrawParameters, IndexBuffer, Program, Surface, VertexBuffer}; [INFO] [stdout] | ^^^^ the item `glium` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 259 | / event_loop.run(move |ev, _, control_flow| { [INFO] [stdout] 260 | | let mut target = display.draw(); [INFO] [stdout] 261 | | target.clear_color_and_depth((0.0, 0.0, 0.0, 1.0), 1.0); [INFO] [stdout] ... | [INFO] [stdout] 345 | | } [INFO] [stdout] 346 | | }); [INFO] [stdout] | |______- any code following this expression is unreachable [INFO] [stdout] 347 | / if let Some(err) = error { [INFO] [stdout] 348 | | return Err(&err); [INFO] [stdout] 349 | | } else { [INFO] [stdout] 350 | | return Ok(()); [INFO] [stdout] 351 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 259 | / event_loop.run(move |ev, _, control_flow| { [INFO] [stdout] 260 | | let mut target = display.draw(); [INFO] [stdout] 261 | | target.clear_color_and_depth((0.0, 0.0, 0.0, 1.0), 1.0); [INFO] [stdout] ... | [INFO] [stdout] 345 | | } [INFO] [stdout] 346 | | }); [INFO] [stdout] | |______- any code following this expression is unreachable [INFO] [stdout] 347 | / if let Some(err) = error { [INFO] [stdout] 348 | | return Err(&err); [INFO] [stdout] 349 | | } else { [INFO] [stdout] 350 | | return Ok(()); [INFO] [stdout] 351 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `error` is never read [INFO] [stdout] --> src/lib.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | error = Some(String::from("Unable to create vertex buffer")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/lib.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | error = Some(String::from("Unable to create vertex buffer")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `error` is never read [INFO] [stdout] --> src/lib.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | error = Some(String::from("Unable to create vertex buffer")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/lib.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | error = Some(String::from("Unable to create vertex buffer")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/bin/surface1.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | glium::implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `main` [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 `glium::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 `glium::implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/bin/surface1.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | glium::implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `main` [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 `glium::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 `glium::implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mod1 v0.1.0 (/opt/rustwide/workdir), nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "eb6415f03c81244fa3390464ad6674561c0449f07de573247fed5ff16569fdae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb6415f03c81244fa3390464ad6674561c0449f07de573247fed5ff16569fdae", kill_on_drop: false }` [INFO] [stdout] eb6415f03c81244fa3390464ad6674561c0449f07de573247fed5ff16569fdae