[INFO] cloning repository https://github.com/cauebs/gomoku [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cauebs/gomoku" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fgomoku", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fgomoku'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8d6acfe32d9dabefe831e3056c0460fb7d4bd6a [INFO] checking cauebs/gomoku against master#09a371361240e42b0d69438fd1179efcf212e576 for pr-157814-crater-rollup [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fgomoku" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cauebs/gomoku [INFO] finished tweaking git repo https://github.com/cauebs/gomoku [INFO] tweaked toml for git repo https://github.com/cauebs/gomoku written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cauebs/gomoku on toolchain 09a371361240e42b0d69438fd1179efcf212e576 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cauebs/gomoku 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" "+09a371361240e42b0d69438fd1179efcf212e576" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `gomoku` (manifest) generated 1 warning [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.2.1 [INFO] [stderr] Downloaded failure_derive v0.1.2 [INFO] [stderr] Downloaded quote v0.6.6 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded proc-macro2 v0.4.13 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded synstructure v0.9.0 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded syn v0.14.8 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7cf07dcec6eec8f91d8fcff9552b5c74122c05467aaf1800be6da9d6f61e2ab2" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c8982c2608ebadc5896cc84071b5c5202c597f78e465ddc678545dfd5af4ddf5 [INFO] running `Command { std: "docker" "start" "c8982c2608ebadc5896cc84071b5c5202c597f78e465ddc678545dfd5af4ddf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8982c2608ebadc5896cc84071b5c5202c597f78e465ddc678545dfd5af4ddf5" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8982c2608ebadc5896cc84071b5c5202c597f78e465ddc678545dfd5af4ddf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8982c2608ebadc5896cc84071b5c5202c597f78e465ddc678545dfd5af4ddf5" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `gomoku` (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking gomoku v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/ai.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn decide(&mut self, board: &Board, last_move: Option<(usize, usize)>) -> (usize, usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_move` [INFO] [stdout] --> src/ai.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | fn decide(&mut self, board: &Board, last_move: Option<(usize, usize)>) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_move` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/ai.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn decide(&mut self, board: &Board, last_move: Option<(usize, usize)>) -> (usize, usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_move` [INFO] [stdout] --> src/ai.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | fn decide(&mut self, board: &Board, last_move: Option<(usize, usize)>) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_move` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `static_value`, `alpha`, `beta`, and `children` are never read [INFO] [stdout] --> src/ai.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct DecisionTree { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 8 | state: Board, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | static_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | alpha: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | beta: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | children: HashMap<(usize, usize), Box>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecisionTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ai.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl DecisionTree { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 28 | fn new(state: Board, heuristic_value: f64, alpha: f64, beta: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `static_evaluator`, `decision_tree`, and `recursion_limit` are never read [INFO] [stdout] --> src/ai.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SmartBot [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | static_evaluator: F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | decision_tree: DecisionTree, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 46 | recursion_limit: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SmartBot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coordinates_from_str` is never used [INFO] [stdout] --> src/coordinates.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn coordinates_from_str(s: &str) -> Result<(usize, usize), failure::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `play_turns` is never used [INFO] [stdout] --> src/game.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Game { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn play_turns(&mut self, turns: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RandomBot` is never constructed [INFO] [stdout] --> src/players.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct RandomBot; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestBot` is never constructed [INFO] [stdout] --> src/players.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct TestBot { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/players.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl TestBot { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 56 | pub fn new(mut moves: Vec<(usize, usize)>) -> Self { [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/board.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [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/board.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [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/coordinates.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ParseCoordinatesError` is not local [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParseCoordinatesError` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [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/coordinates.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ParseCoordinatesError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ParseCoordinatesError` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `static_value`, `alpha`, `beta`, and `children` are never read [INFO] [stdout] --> src/ai.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct DecisionTree { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 8 | state: Board, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | static_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | alpha: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | beta: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | children: HashMap<(usize, usize), Box>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecisionTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ai.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl DecisionTree { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 28 | fn new(state: Board, heuristic_value: f64, alpha: f64, beta: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `static_evaluator`, `decision_tree`, and `recursion_limit` are never read [INFO] [stdout] --> src/ai.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SmartBot [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | static_evaluator: F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | decision_tree: DecisionTree, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 46 | recursion_limit: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SmartBot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coordinates_from_str` is never used [INFO] [stdout] --> src/coordinates.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn coordinates_from_str(s: &str) -> Result<(usize, usize), failure::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RandomBot` is never constructed [INFO] [stdout] --> src/players.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct RandomBot; [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/board.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [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/board.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [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/coordinates.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ParseCoordinatesError` is not local [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParseCoordinatesError` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [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/coordinates.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ParseCoordinatesError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ParseCoordinatesError` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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 5.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "c8982c2608ebadc5896cc84071b5c5202c597f78e465ddc678545dfd5af4ddf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8982c2608ebadc5896cc84071b5c5202c597f78e465ddc678545dfd5af4ddf5", kill_on_drop: false }` [INFO] [stdout] c8982c2608ebadc5896cc84071b5c5202c597f78e465ddc678545dfd5af4ddf5