[INFO] cloning repository https://github.com/sup34eva/matsuo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sup34eva/matsuo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsup34eva%2Fmatsuo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsup34eva%2Fmatsuo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47fbf0b47212ff55b16a881d4d95c1af9e3aaed9 [INFO] checking sup34eva/matsuo against master#f9515fdd5aa132e27d9b580a35b27f4b453251c1 for pr-125923 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsup34eva%2Fmatsuo" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sup34eva/matsuo on toolchain f9515fdd5aa132e27d9b580a35b27f4b453251c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9515fdd5aa132e27d9b580a35b27f4b453251c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sup34eva/matsuo [INFO] finished tweaking git repo https://github.com/sup34eva/matsuo [INFO] tweaked toml for git repo https://github.com/sup34eva/matsuo written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sup34eva/matsuo 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" "+f9515fdd5aa132e27d9b580a35b27f4b453251c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded docopt v0.8.0 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+f9515fdd5aa132e27d9b580a35b27f4b453251c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99193183d497503d6feab207d212352714e926595bade27a1cc829d5e5a51e13 [INFO] running `Command { std: "docker" "start" "-a" "99193183d497503d6feab207d212352714e926595bade27a1cc829d5e5a51e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99193183d497503d6feab207d212352714e926595bade27a1cc829d5e5a51e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99193183d497503d6feab207d212352714e926595bade27a1cc829d5e5a51e13", kill_on_drop: false }` [INFO] [stdout] 99193183d497503d6feab207d212352714e926595bade27a1cc829d5e5a51e13 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+f9515fdd5aa132e27d9b580a35b27f4b453251c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e386b43dc2aedd78c22067b9303b30b4da8ad358f6b6e6317a5cd25a3dd0283 [INFO] running `Command { std: "docker" "start" "-a" "4e386b43dc2aedd78c22067b9303b30b4da8ad358f6b6e6317a5cd25a3dd0283", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling num-traits v0.1.39 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rayon-core v1.0.2 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking serde v1.0.8 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Checking thread-id v3.1.0 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking num_cpus v1.5.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Checking deque v0.3.2 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Compiling wayland-scanner v0.8.7 [INFO] [stderr] Compiling gl_generator v0.5.3 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking rayon v0.7.1 [INFO] [stderr] Compiling wayland-client v0.8.7 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling gl v0.6.2 [INFO] [stderr] Compiling glutin v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.8 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Checking bincode v0.8.0 [INFO] [stderr] Checking docopt v0.8.0 [INFO] [stderr] error: could not compile `target_build_utils` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/f9515fdd5aa132e27d9b580a35b27f4b453251c1/bin/rustc --crate-name target_build_utils --edition=2015 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/target_build_utils-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="serde_json"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "serde_json"))' -C metadata=705e615673c3f8d1 -C extra-filename=-705e615673c3f8d1 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern phf=/opt/rustwide/target/debug/deps/libphf-4a42bd69d611b0e7.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-044d7b78ef47f804.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "4e386b43dc2aedd78c22067b9303b30b4da8ad358f6b6e6317a5cd25a3dd0283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e386b43dc2aedd78c22067b9303b30b4da8ad358f6b6e6317a5cd25a3dd0283", kill_on_drop: false }` [INFO] [stdout] 4e386b43dc2aedd78c22067b9303b30b4da8ad358f6b6e6317a5cd25a3dd0283 [INFO] checking sup34eva/matsuo against try#71235522a9cf955f6b7ff56c0bfb2651ecd0180b for pr-125923 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsup34eva%2Fmatsuo" "/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/sup34eva/matsuo on toolchain 71235522a9cf955f6b7ff56c0bfb2651ecd0180b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71235522a9cf955f6b7ff56c0bfb2651ecd0180b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sup34eva/matsuo [INFO] finished tweaking git repo https://github.com/sup34eva/matsuo [INFO] tweaked toml for git repo https://github.com/sup34eva/matsuo written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sup34eva/matsuo 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" "+71235522a9cf955f6b7ff56c0bfb2651ecd0180b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+71235522a9cf955f6b7ff56c0bfb2651ecd0180b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efb26c13546500930369b68b2b9895e8e338e907c80df4ccf95c237f70b27ba4 [INFO] running `Command { std: "docker" "start" "-a" "efb26c13546500930369b68b2b9895e8e338e907c80df4ccf95c237f70b27ba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efb26c13546500930369b68b2b9895e8e338e907c80df4ccf95c237f70b27ba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efb26c13546500930369b68b2b9895e8e338e907c80df4ccf95c237f70b27ba4", kill_on_drop: false }` [INFO] [stdout] efb26c13546500930369b68b2b9895e8e338e907c80df4ccf95c237f70b27ba4 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+71235522a9cf955f6b7ff56c0bfb2651ecd0180b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 552204f97873615844a582e2831a6f4390c5a7b67287eb35828b7df61d0fbf20 [INFO] running `Command { std: "docker" "start" "-a" "552204f97873615844a582e2831a6f4390c5a7b67287eb35828b7df61d0fbf20", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling num-traits v0.1.39 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling rayon-core v1.0.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking deque v0.3.2 [INFO] [stderr] Checking serde v1.0.8 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.1.0 [INFO] [stderr] Checking num_cpus v1.5.1 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Compiling wayland-scanner v0.8.7 [INFO] [stderr] Compiling gl_generator v0.5.3 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking rayon v0.7.1 [INFO] [stderr] Compiling wayland-client v0.8.7 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling gl v0.6.2 [INFO] [stderr] Compiling glutin v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.8 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Checking bincode v0.8.0 [INFO] [stderr] Checking docopt v0.8.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.8.7 [INFO] [stderr] Checking wayland-window v0.5.0 [INFO] [stderr] Checking wayland-kbd v0.8.0 [INFO] [stderr] Checking winit v0.6.4 [INFO] [stderr] Checking matsuo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns, inclusive_range_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `inclusive_range_syntax` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns, inclusive_range_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns, inclusive_range_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `inclusive_range_syntax` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns, inclusive_range_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board_size` and `edge_size` are never read [INFO] [stdout] --> src/display.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 75 | pub board_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 76 | pub edge_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Args` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Args` [INFO] [stdout] | [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/render.rs:112:88 [INFO] [stdout] | [INFO] [stdout] 112 | position: gl::GetAttribLocation(program, CString::new("position").unwrap().as_ptr()) as GLuint, [INFO] [stdout] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/render.rs:113:92 [INFO] [stdout] | [INFO] [stdout] 113 | uv_sampler: gl::GetUniformLocation(program, CString::new("uvSampler").unwrap().as_ptr()) as GLuint, [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/render.rs:114:98 [INFO] [stdout] | [INFO] [stdout] 114 | board_sampler: gl::GetUniformLocation(program, CString::new("boardSampler").unwrap().as_ptr()) as GLuint, [INFO] [stdout] | ------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/tree.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 10 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 9 | IntoIterator::into_iter(game.edge_neighbors(**action)) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/tree.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | ... .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 15 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 14 | IntoIterator::into_iter(game.cell_neighbors(cell)) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board_size` and `edge_size` are never read [INFO] [stdout] --> src/display.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 75 | pub board_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 76 | pub edge_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Args` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Args` [INFO] [stdout] | [INFO] [stdout] = note: `impl` may be usable in bounds, etc. from outside the expression, which might e.g. make something constructible that previously wasn't, because it's still on a publicly-visible type [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/render.rs:112:88 [INFO] [stdout] | [INFO] [stdout] 112 | position: gl::GetAttribLocation(program, CString::new("position").unwrap().as_ptr()) as GLuint, [INFO] [stdout] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/render.rs:113:92 [INFO] [stdout] | [INFO] [stdout] 113 | uv_sampler: gl::GetUniformLocation(program, CString::new("uvSampler").unwrap().as_ptr()) as GLuint, [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/render.rs:114:98 [INFO] [stdout] | [INFO] [stdout] 114 | board_sampler: gl::GetUniformLocation(program, CString::new("boardSampler").unwrap().as_ptr()) as GLuint, [INFO] [stdout] | ------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/tree.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 10 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 9 | IntoIterator::into_iter(game.edge_neighbors(**action)) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/tree.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | ... .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 15 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 14 | IntoIterator::into_iter(game.cell_neighbors(cell)) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.05s [INFO] running `Command { std: "docker" "inspect" "552204f97873615844a582e2831a6f4390c5a7b67287eb35828b7df61d0fbf20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552204f97873615844a582e2831a6f4390c5a7b67287eb35828b7df61d0fbf20", kill_on_drop: false }` [INFO] [stdout] 552204f97873615844a582e2831a6f4390c5a7b67287eb35828b7df61d0fbf20