[INFO] cloning repository https://github.com/NyxCode/rusty-modular-arithmetic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NyxCode/rusty-modular-arithmetic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNyxCode%2Frusty-modular-arithmetic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNyxCode%2Frusty-modular-arithmetic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62b14a4177fcca0d9f5d656444ee439abaa25271 [INFO] testing NyxCode/rusty-modular-arithmetic against 1.90.0 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNyxCode%2Frusty-modular-arithmetic" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NyxCode/rusty-modular-arithmetic [INFO] finished tweaking git repo https://github.com/NyxCode/rusty-modular-arithmetic [INFO] tweaked toml for git repo https://github.com/NyxCode/rusty-modular-arithmetic written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NyxCode/rusty-modular-arithmetic on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NyxCode/rusty-modular-arithmetic 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" "+1.90.0" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded version_check v0.1.4 [INFO] [stderr] Downloaded lazy_static v1.1.0 [INFO] [stderr] Downloaded x11-dl v2.18.3 [INFO] [stderr] Downloaded android_glue v0.2.3 [INFO] [stderr] Downloaded smallvec v0.6.5 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded gl_generator v0.9.0 [INFO] [stderr] Downloaded glutin v0.17.0 [INFO] [stderr] Downloaded shared_library v0.1.9 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded downcast-rs v1.0.3 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded gleam v0.6.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded xml-rs v0.7.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.2.6 [INFO] [stderr] Downloaded log v0.4.5 [INFO] [stderr] Downloaded owning_ref v0.3.3 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded khronos_api v2.2.0 [INFO] [stderr] Downloaded lock_api v0.1.3 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded winit v0.16.2 [INFO] [stderr] Downloaded wayland-sys v0.20.12 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded byteorder v1.2.6 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded libloading v0.5.0 [INFO] [stderr] Downloaded glium v0.22.0 [INFO] [stderr] Downloaded cocoa v0.15.0 [INFO] [stderr] Downloaded objc v0.2.5 [INFO] [stderr] Downloaded wayland-commons v0.20.12 [INFO] [stderr] Downloaded osmesa-sys v0.1.2 [INFO] [stderr] Downloaded core-foundation-sys v0.6.1 [INFO] [stderr] Downloaded wayland-scanner v0.20.12 [INFO] [stderr] Downloaded stable_deref_trait v1.1.1 [INFO] [stderr] Downloaded wayland-client v0.20.12 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded parking_lot_core v0.3.1 [INFO] [stderr] Downloaded memmap v0.6.2 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded rand_core v0.2.1 [INFO] [stderr] Downloaded wayland-protocols v0.20.12 [INFO] [stderr] Downloaded remove_dir_all v0.5.1 [INFO] [stderr] Downloaded cc v1.0.24 [INFO] [stderr] Downloaded dlib v0.4.1 [INFO] [stderr] Downloaded cgl v0.2.3 [INFO] [stderr] Downloaded core-foundation v0.6.1 [INFO] [stderr] Downloaded core-graphics v0.14.0 [INFO] [stderr] Downloaded parking_lot v0.6.4 [INFO] [stderr] Downloaded nix v0.11.0 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded tempfile v3.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0439157c113fd5a8bdca87d737153143967f9dd9d0c5da00441971e87758b89 [INFO] running `Command { std: "docker" "start" "-a" "d0439157c113fd5a8bdca87d737153143967f9dd9d0c5da00441971e87758b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0439157c113fd5a8bdca87d737153143967f9dd9d0c5da00441971e87758b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0439157c113fd5a8bdca87d737153143967f9dd9d0c5da00441971e87758b89", kill_on_drop: false }` [INFO] [stdout] d0439157c113fd5a8bdca87d737153143967f9dd9d0c5da00441971e87758b89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a96a4dcba872490ac93a35d5a637d3ba86a8ebf49b9fa2cf5977ce89ba1ce85 [INFO] running `Command { std: "docker" "start" "-a" "3a96a4dcba872490ac93a35d5a637d3ba86a8ebf49b9fa2cf5977ce89ba1ce85", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cc v1.0.24 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling tempfile v3.0.3 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling smithay-client-toolkit v0.2.6 [INFO] [stderr] Compiling winit v0.16.2 [INFO] [stderr] Compiling rusty-modular-arithmetic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | implement_vertex!(Vertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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: `x` [INFO] [stdout] --> src/state.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | LineDelta(x, y) => y * 10., [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 22 | implement_vertex!(Vertex, position, color); [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 41.19s [INFO] running `Command { std: "docker" "inspect" "3a96a4dcba872490ac93a35d5a637d3ba86a8ebf49b9fa2cf5977ce89ba1ce85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a96a4dcba872490ac93a35d5a637d3ba86a8ebf49b9fa2cf5977ce89ba1ce85", kill_on_drop: false }` [INFO] [stdout] 3a96a4dcba872490ac93a35d5a637d3ba86a8ebf49b9fa2cf5977ce89ba1ce85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 715847d563549a8fa5c0744ba8adc01c4fc49142edb52744c9ec3099eabe6a12 [INFO] running `Command { std: "docker" "start" "-a" "715847d563549a8fa5c0744ba8adc01c4fc49142edb52744c9ec3099eabe6a12", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rusty-modular-arithmetic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | implement_vertex!(Vertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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: `x` [INFO] [stdout] --> src/state.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | LineDelta(x, y) => y * 10., [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 22 | implement_vertex!(Vertex, position, color); [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.37s [INFO] running `Command { std: "docker" "inspect" "715847d563549a8fa5c0744ba8adc01c4fc49142edb52744c9ec3099eabe6a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "715847d563549a8fa5c0744ba8adc01c4fc49142edb52744c9ec3099eabe6a12", kill_on_drop: false }` [INFO] [stdout] 715847d563549a8fa5c0744ba8adc01c4fc49142edb52744c9ec3099eabe6a12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5f878768d04fe70810e70b07f0c11c71ca4f573060b9d555506bdab1640d9a9f [INFO] running `Command { std: "docker" "start" "-a" "5f878768d04fe70810e70b07f0c11c71ca4f573060b9d555506bdab1640d9a9f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | implement_vertex!(Vertex, position, color); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` 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: unused variable: `x` [INFO] [stderr] --> src/state.rs:101:23 [INFO] [stderr] | [INFO] [stderr] 101 | LineDelta(x, y) => y * 10., [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [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:22:5 [INFO] [stderr] | [INFO] [stderr] 21 | fn main() { [INFO] [stderr] | --------- move the `impl` block outside of this function `main` [INFO] [stderr] 22 | implement_vertex!(Vertex, position, color); [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: `rusty-modular-arithmetic` (bin "rusty-modular-arithmetic" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rusty_modular_arithmetic-8581c8f40034c92a) [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" "5f878768d04fe70810e70b07f0c11c71ca4f573060b9d555506bdab1640d9a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f878768d04fe70810e70b07f0c11c71ca4f573060b9d555506bdab1640d9a9f", kill_on_drop: false }` [INFO] [stdout] 5f878768d04fe70810e70b07f0c11c71ca4f573060b9d555506bdab1640d9a9f