[INFO] fetching crate intfic 0.3.8... [INFO] testing intfic-0.3.8 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate intfic 0.3.8 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate intfic 0.3.8 [INFO] finished tweaking crates.io crate intfic 0.3.8 [INFO] tweaked toml for crates.io crate intfic 0.3.8 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate intfic 0.3.8 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate intfic 0.3.8 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4420851fc2c49301d3d0f2a7b847c4559f5afa4dc0ff22310261807472820e67 [INFO] running `Command { std: "docker" "start" "-a" "4420851fc2c49301d3d0f2a7b847c4559f5afa4dc0ff22310261807472820e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4420851fc2c49301d3d0f2a7b847c4559f5afa4dc0ff22310261807472820e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4420851fc2c49301d3d0f2a7b847c4559f5afa4dc0ff22310261807472820e67", kill_on_drop: false }` [INFO] [stdout] 4420851fc2c49301d3d0f2a7b847c4559f5afa4dc0ff22310261807472820e67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffc3f3f05b4ce6065d9a94b1be3a10248d12b1fde182f6f2637b37b8fc0eb95b [INFO] running `Command { std: "docker" "start" "-a" "ffc3f3f05b4ce6065d9a94b1be3a10248d12b1fde182f6f2637b37b8fc0eb95b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling text_io v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling ron v0.6.0 [INFO] [stderr] Compiling intfic v0.3.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_file.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let mut var_split: Vec<&str> = text.split(" = ").collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_file.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let mut var_split: Vec<&str> = text.split(" + ").collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_file.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let mut choice_split: Vec<&str> = text.split(" -> ").collect(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/game_state.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GameState` [INFO] [stdout] 18 | pub struct GameState { [INFO] [stdout] | --------- `GameState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: 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 `Deserialize` (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/game_state.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GameState` [INFO] [stdout] 18 | pub struct GameState { [INFO] [stdout] | --------- `GameState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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 12.38s [INFO] running `Command { std: "docker" "inspect" "ffc3f3f05b4ce6065d9a94b1be3a10248d12b1fde182f6f2637b37b8fc0eb95b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffc3f3f05b4ce6065d9a94b1be3a10248d12b1fde182f6f2637b37b8fc0eb95b", kill_on_drop: false }` [INFO] [stdout] ffc3f3f05b4ce6065d9a94b1be3a10248d12b1fde182f6f2637b37b8fc0eb95b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1d030716b100f276823472455a10a21e3b577be47c65fae0eeaf8328ed32810 [INFO] running `Command { std: "docker" "start" "-a" "f1d030716b100f276823472455a10a21e3b577be47c65fae0eeaf8328ed32810", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_file.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let mut var_split: Vec<&str> = text.split(" = ").collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling intfic v0.3.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_file.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let mut var_split: Vec<&str> = text.split(" + ").collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_file.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let mut choice_split: Vec<&str> = text.split(" -> ").collect(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/game_state.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GameState` [INFO] [stdout] 18 | pub struct GameState { [INFO] [stdout] | --------- `GameState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: 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 `Deserialize` (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/game_state.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GameState` [INFO] [stdout] 18 | pub struct GameState { [INFO] [stdout] | --------- `GameState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_file.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let mut var_split: Vec<&str> = text.split(" = ").collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_file.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let mut var_split: Vec<&str> = text.split(" + ").collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_file.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let mut choice_split: Vec<&str> = text.split(" -> ").collect(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/game_state.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GameState` [INFO] [stdout] 18 | pub struct GameState { [INFO] [stdout] | --------- `GameState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [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: 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 `Deserialize` (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/game_state.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GameState` [INFO] [stdout] 18 | pub struct GameState { [INFO] [stdout] | --------- `GameState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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 1.07s [INFO] running `Command { std: "docker" "inspect" "f1d030716b100f276823472455a10a21e3b577be47c65fae0eeaf8328ed32810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1d030716b100f276823472455a10a21e3b577be47c65fae0eeaf8328ed32810", kill_on_drop: false }` [INFO] [stdout] f1d030716b100f276823472455a10a21e3b577be47c65fae0eeaf8328ed32810 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f87cd8e1e0c368ae4e62bf6b6c0a030505d371c0e9f26d1894c01b614196652 [INFO] running `Command { std: "docker" "start" "-a" "4f87cd8e1e0c368ae4e62bf6b6c0a030505d371c0e9f26d1894c01b614196652", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parse_file.rs:192:13 [INFO] [stderr] | [INFO] [stderr] 192 | let mut var_split: Vec<&str> = text.split(" = ").collect(); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parse_file.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | let mut var_split: Vec<&str> = text.split(" + ").collect(); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parse_file.rs:208:13 [INFO] [stderr] | [INFO] [stderr] 208 | let mut choice_split: Vec<&str> = text.split(" -> ").collect(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/game_state.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_GameState` [INFO] [stderr] 18 | pub struct GameState { [INFO] [stderr] | --------- `GameState` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/game_state.rs:17:41 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug, Deserialize, PartialEq, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_GameState` [INFO] [stderr] 18 | pub struct GameState { [INFO] [stderr] | --------- `GameState` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `intfic` (lib) generated 5 warnings (run `cargo fix --lib -p intfic` to apply 3 suggestions) [INFO] [stderr] warning: `intfic` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/intfic-6b2134560cfe8448) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_gamestate ... ok [INFO] [stdout] test tests::test_storyblocks ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/intfic-6d7485b2c076f5b0) [INFO] [stdout] [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] [stderr] Doc-tests intfic [INFO] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> src/lib.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | #![warn(missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> src/lib.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | #![warn(missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the `rustdoc::missing_doc_code_examples` lint is unstable [INFO] [stderr] = note: see issue #101730 for more information [INFO] [stderr] = help: add `#![feature(rustdoc_missing_doc_code_examples)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test src/game_state.rs - game_state::GameState::load (line 224) - compile ... ok [INFO] [stdout] test src/game_state.rs - game_state::GameState::quit (line 294) - compile ... ok [INFO] [stdout] test src/parse_input.rs - parse_input::ask_direction (line 358) - compile ... ok [INFO] [stdout] test src/parse_file.rs - parse_file::load_file (line 130) - compile ... ok [INFO] [stdout] test src/game_state.rs - game_state::GameState::start (line 261) - compile ... ok [INFO] [stdout] test src/parse_input.rs - parse_input::ask_question (line 309) - compile ... ok [INFO] [stdout] test src/game_state.rs - game_state::GameState::save (line 166) - compile ... ok [INFO] [stdout] test src/game_state.rs - game_state::GameState::print_debug (line 309) - compile ... ok [INFO] [stdout] test src/game_state.rs - game_state::GameState::new (line 35) ... ok [INFO] [stdout] test src/game_state.rs - game_state::GameState::set_flag (line 98) ... ok [INFO] [stdout] test src/game_state.rs - game_state::GameState::get_flag (line 56) ... ok [INFO] [stdout] test src/game_state.rs - game_state::GameState::get_counter (line 77) ... ok [INFO] [stdout] test src/game_state.rs - game_state::GameState::set_progress (line 143) ... ok [INFO] [stdout] test src/game_state.rs - game_state::GameState::add_score (line 129) ... ok [INFO] [stdout] test src/story_block.rs - story_block::start_blocks (line 266) - compile ... ok [INFO] [stdout] test src/parse_input.rs - parse_input::get_input (line 256) - compile ... ok [INFO] [stdout] test src/game_state.rs - game_state::GameState::check_game_over (line 278) - compile ... ok [INFO] [stdout] test src/story_block.rs - story_block::start_block (line 284) - compile ... ok [INFO] [stdout] test src/write_out.rs - write_out::type_text (line 36) - compile ... ok [INFO] [stdout] test src/game_state.rs - game_state::GameState::update_counter (line 113) ... ok [INFO] [stdout] test src/parse_input.rs - parse_input::sanitize (line 235) ... ok [INFO] [stdout] test src/story_block.rs - story_block::StoryBlock::new (line 66) ... ok [INFO] [stdout] test src/parse_input.rs - parse_input::query (line 204) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.34s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4f87cd8e1e0c368ae4e62bf6b6c0a030505d371c0e9f26d1894c01b614196652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f87cd8e1e0c368ae4e62bf6b6c0a030505d371c0e9f26d1894c01b614196652", kill_on_drop: false }` [INFO] [stdout] 4f87cd8e1e0c368ae4e62bf6b6c0a030505d371c0e9f26d1894c01b614196652