[INFO] cloning repository https://github.com/dvallin/stellar-outpost [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dvallin/stellar-outpost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvallin%2Fstellar-outpost", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvallin%2Fstellar-outpost'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c2e3d4a24b8e68ce99ce124e1257701b16fab6d [INFO] testing dvallin/stellar-outpost against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvallin%2Fstellar-outpost" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dvallin/stellar-outpost on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dvallin/stellar-outpost [INFO] finished tweaking git repo https://github.com/dvallin/stellar-outpost [INFO] tweaked toml for git repo https://github.com/dvallin/stellar-outpost written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dvallin/stellar-outpost 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.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typetag-impl v0.2.8 [INFO] [stderr] Downloaded typetag v0.2.8 [INFO] [stderr] Downloaded ghost v0.1.9 [INFO] [stderr] Downloaded inventory v0.3.6 [INFO] [stderr] Downloaded catppuccin v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d5e1657564c7102b74ae6da94167839370600035fdd10314576540921ffc9b6 [INFO] running `Command { std: "docker" "start" "-a" "0d5e1657564c7102b74ae6da94167839370600035fdd10314576540921ffc9b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d5e1657564c7102b74ae6da94167839370600035fdd10314576540921ffc9b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d5e1657564c7102b74ae6da94167839370600035fdd10314576540921ffc9b6", kill_on_drop: false }` [INFO] [stdout] 0d5e1657564c7102b74ae6da94167839370600035fdd10314576540921ffc9b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5a833666b83ac0c48f671783ece3b1d39a83560124e50f25d59e5bdfb2ca849 [INFO] running `Command { std: "docker" "start" "-a" "e5a833666b83ac0c48f671783ece3b1d39a83560124e50f25d59e5bdfb2ca849", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.59 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling erased-serde v0.3.25 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling catppuccin v1.2.1 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.20.0 [INFO] [stderr] Compiling tui v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling ghost v0.1.9 [INFO] [stderr] Compiling typetag-impl v0.2.8 [INFO] [stderr] Compiling inventory v0.3.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling typetag v0.2.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling stellar-outpost v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:697:21 [INFO] [stdout] | [INFO] [stdout] 697 | let mut mission_status = vec![Span::styled( [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: unused variable: `turns` [INFO] [stdout] --> src/model/sector.rs:267:27 [INFO] [stdout] | [INFO] [stdout] 267 | AtDestination(turns) => String::from("AtDestination"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_turns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turns` [INFO] [stdout] --> src/model/sector.rs:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | OutwardTrip(turns) => String::from("OutwardTrip"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_turns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turns` [INFO] [stdout] --> src/model/sector.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | ReturnTrip(turns) => String::from("ReturnTrip"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_turns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `zero`, `distance_to`, and `length` are never used [INFO] [stdout] --> src/model/mod.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl AxialHexCoordinates { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 270 | pub fn zero() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn distance_to(self, other: Self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn length(self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log` is never used [INFO] [stdout] --> src/model/game_state.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn log<'a>(&mut self, message: &'a str) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MissionPreparationIssue` is never constructed [INFO] [stdout] --> src/model/outpost.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct MissionPreparationIssue {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `crew` is never read [INFO] [stdout] --> src/model/outpost.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct MissionPreparationDescription<'a> { [INFO] [stdout] | ----------------------------- field in this struct [INFO] [stdout] 80 | pub turns: u16, [INFO] [stdout] 81 | pub crew: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `upkeep` are never read [INFO] [stdout] --> src/model/outpost.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct MissionPreparationCrewMemberDescription { [INFO] [stdout] | --------------------------------------- fields in this struct [INFO] [stdout] 87 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | pub upkeep: Resources, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `priority` is never read [INFO] [stdout] --> src/model/outpost.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ModuleDescription<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 97 | pub name: &'a String, [INFO] [stdout] 98 | pub priority: ModulePriority, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hex_distance_to` and `hex_length` are never used [INFO] [stdout] --> src/model/sector.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Coordinates { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn hex_distance_to(self, other: Self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn hex_length(self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_return_trip` is never used [INFO] [stdout] --> src/model/sector.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl ActiveMission { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn start_return_trip(&mut 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/model/modules/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Module_registry` [INFO] [stdout] 34 | pub trait Module: Entity { [INFO] [stdout] | ------ `Module` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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 attribute macro `typetag::serde` (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/model/modules/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Module_registry` [INFO] [stdout] 34 | pub trait Module: Entity { [INFO] [stdout] | ------ `Module` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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 attribute macro `typetag::serde` (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/model/modules/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Module_registry` [INFO] [stdout] 34 | pub trait Module: Entity { [INFO] [stdout] | ------ `Module` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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 attribute macro `typetag::serde` (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/model/modules/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Module_registry` [INFO] [stdout] 34 | pub trait Module: Entity { [INFO] [stdout] | ------ `Module` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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 attribute macro `typetag::serde` (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/model/modules/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Module_registry` [INFO] [stdout] 34 | pub trait Module: Entity { [INFO] [stdout] | ------ `Module` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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 attribute macro `typetag::serde` (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/model/modules/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Module_registry` [INFO] [stdout] 34 | pub trait Module: Entity { [INFO] [stdout] | ------ `Module` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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 attribute macro `typetag::serde` (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/model/modules/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Module_registry` [INFO] [stdout] 34 | pub trait Module: Entity { [INFO] [stdout] | ------ `Module` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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 attribute macro `typetag::serde` (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 24.72s [INFO] running `Command { std: "docker" "inspect" "e5a833666b83ac0c48f671783ece3b1d39a83560124e50f25d59e5bdfb2ca849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5a833666b83ac0c48f671783ece3b1d39a83560124e50f25d59e5bdfb2ca849", kill_on_drop: false }` [INFO] [stdout] e5a833666b83ac0c48f671783ece3b1d39a83560124e50f25d59e5bdfb2ca849 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b39c37f2c54a0fe5b810dfc22fc16b223d8b3271f7afe2ced91a52922f9dfd7 [INFO] running `Command { std: "docker" "start" "-a" "6b39c37f2c54a0fe5b810dfc22fc16b223d8b3271f7afe2ced91a52922f9dfd7", kill_on_drop: false }` [INFO] [stderr] Compiling stellar-outpost v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::model::modules::mine` [INFO] [stdout] --> src/model/outpost.rs:431:32 [INFO] [stdout] | [INFO] [stdout] 431 | use crate::model::modules::mine::Mine; [INFO] [stdout] | ^^^^ could not find `mine` in `modules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/app.rs:1150:39 [INFO] [stdout] | [INFO] [stdout] 1150 | circular_index(index, arr), [INFO] [stdout] | -------------- ^^^ expected `usize`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/app.rs:1125:4 [INFO] [stdout] | [INFO] [stdout] 1125 | fn circular_index(index: i32, len: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model/modules/farm.rs:125:46 [INFO] [stdout] | [INFO] [stdout] 125 | let mut member = CrewMember::new("test"); [INFO] [stdout] | --------------- ^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/model/crew.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model/modules/water_extractor.rs:125:46 [INFO] [stdout] | [INFO] [stdout] 125 | let mut member = CrewMember::new("test"); [INFO] [stdout] | --------------- ^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/model/crew.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for struct `Storage` in the current scope [INFO] [stdout] --> src/model/outpost.rs:443:16 [INFO] [stdout] | [INFO] [stdout] 443 | o.crew.clear(); [INFO] [stdout] | ^^^^^ method not found in `Storage` [INFO] [stdout] | [INFO] [stdout] ::: src/model/mod.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Storage [INFO] [stdout] | --------------------- method `clear` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clear`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Backend` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 443 | o.crew.data.clear(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for struct `SortableStorage` in the current scope [INFO] [stdout] --> src/model/outpost.rs:444:19 [INFO] [stdout] | [INFO] [stdout] 444 | o.modules.push(Box::new(Mine::new("mine1"))); [INFO] [stdout] | ^^^^ method not found in `SortableStorage` [INFO] [stdout] | [INFO] [stdout] ::: src/model/mod.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct SortableStorage [INFO] [stdout] | ----------------------------- method `push` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 444 | o.modules.data.push(Box::new(Mine::new("mine1"))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for struct `SortableStorage` in the current scope [INFO] [stdout] --> src/model/outpost.rs:445:19 [INFO] [stdout] | [INFO] [stdout] 445 | o.modules.push(Box::new(Mine::new("mine2"))); [INFO] [stdout] | ^^^^ method not found in `SortableStorage` [INFO] [stdout] | [INFO] [stdout] ::: src/model/mod.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct SortableStorage [INFO] [stdout] | ----------------------------- method `push` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 445 | o.modules.data.push(Box::new(Mine::new("mine2"))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for struct `SortableStorage` in the current scope [INFO] [stdout] --> src/model/outpost.rs:446:19 [INFO] [stdout] | [INFO] [stdout] 446 | o.modules.push(Box::new(Farm::new("farm1"))); [INFO] [stdout] | ^^^^ method not found in `SortableStorage` [INFO] [stdout] | [INFO] [stdout] ::: src/model/mod.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct SortableStorage [INFO] [stdout] | ----------------------------- method `push` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 446 | o.modules.data.push(Box::new(Farm::new("farm1"))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for struct `SortableStorage` in the current scope [INFO] [stdout] --> src/model/outpost.rs:448:14 [INFO] [stdout] | [INFO] [stdout] 447 | / o.modules [INFO] [stdout] 448 | | .push(Box::new(WaterExtractor::new("water_extractor1"))); [INFO] [stdout] | | -^^^^ method not found in `SortableStorage` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/model/mod.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct SortableStorage [INFO] [stdout] | ----------------------------- method `push` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 448 | .data.push(Box::new(WaterExtractor::new("water_extractor1"))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/model/outpost.rs:450:11 [INFO] [stdout] | [INFO] [stdout] 450 | o.finish_turn(); [INFO] [stdout] | ^^^^^^^^^^^-- argument #1 of type `&mut GameState` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model/outpost.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn finish_turn(&mut self, _state: &mut GameState) { [INFO] [stdout] | ^^^^^^^^^^^ ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 450 | o.finish_turn(/* &mut GameState */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/model/outpost.rs:463:11 [INFO] [stdout] | [INFO] [stdout] 463 | o.finish_turn(); [INFO] [stdout] | ^^^^^^^^^^^-- argument #1 of type `&mut GameState` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model/outpost.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn finish_turn(&mut self, _state: &mut GameState) { [INFO] [stdout] | ^^^^^^^^^^^ ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 463 | o.finish_turn(/* &mut GameState */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for struct `SortableStorage` in the current scope [INFO] [stdout] --> src/model/outpost.rs:475:19 [INFO] [stdout] | [INFO] [stdout] 475 | o.modules.push(Box::new(mine1)); [INFO] [stdout] | ^^^^ method not found in `SortableStorage` [INFO] [stdout] | [INFO] [stdout] ::: src/model/mod.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct SortableStorage [INFO] [stdout] | ----------------------------- method `push` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 475 | o.modules.data.push(Box::new(mine1)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for struct `SortableStorage` in the current scope [INFO] [stdout] --> src/model/outpost.rs:479:19 [INFO] [stdout] | [INFO] [stdout] 479 | o.modules.push(Box::new(mine2)); [INFO] [stdout] | ^^^^ method not found in `SortableStorage` [INFO] [stdout] | [INFO] [stdout] ::: src/model/mod.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct SortableStorage [INFO] [stdout] | ----------------------------- method `push` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 479 | o.modules.data.push(Box::new(mine2)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for struct `SortableStorage` in the current scope [INFO] [stdout] --> src/model/outpost.rs:483:19 [INFO] [stdout] | [INFO] [stdout] 483 | o.modules.push(Box::new(farm1)); [INFO] [stdout] | ^^^^ method not found in `SortableStorage` [INFO] [stdout] | [INFO] [stdout] ::: src/model/mod.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct SortableStorage [INFO] [stdout] | ----------------------------- method `push` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 483 | o.modules.data.push(Box::new(farm1)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for struct `SortableStorage` in the current scope [INFO] [stdout] --> src/model/outpost.rs:487:19 [INFO] [stdout] | [INFO] [stdout] 487 | o.modules.push(Box::new(water)); [INFO] [stdout] | ^^^^ method not found in `SortableStorage` [INFO] [stdout] | [INFO] [stdout] ::: src/model/mod.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct SortableStorage [INFO] [stdout] | ----------------------------- method `push` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 487 | o.modules.data.push(Box::new(water)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/model/outpost.rs:489:11 [INFO] [stdout] | [INFO] [stdout] 489 | o.finish_turn(); [INFO] [stdout] | ^^^^^^^^^^^-- argument #1 of type `&mut GameState` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/model/outpost.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn finish_turn(&mut self, _state: &mut GameState) { [INFO] [stdout] | ^^^^^^^^^^^ ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 489 | o.finish_turn(/* &mut GameState */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `module` found for struct `Outpost` in the current scope [INFO] [stdout] --> src/model/outpost.rs:494:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Outpost { [INFO] [stdout] | ------------------ method `module` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 494 | o.module(&name.to_string()).unwrap().consumption().energy, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `modules` with a similar name, but with different arguments [INFO] [stdout] --> src/model/outpost.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn modules(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:697:21 [INFO] [stdout] | [INFO] [stdout] 697 | let mut mission_status = vec![Span::styled( [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: unused variable: `turns` [INFO] [stdout] --> src/model/sector.rs:267:27 [INFO] [stdout] | [INFO] [stdout] 267 | AtDestination(turns) => String::from("AtDestination"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_turns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turns` [INFO] [stdout] --> src/model/sector.rs:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | OutwardTrip(turns) => String::from("OutwardTrip"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_turns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turns` [INFO] [stdout] --> src/model/sector.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | ReturnTrip(turns) => String::from("ReturnTrip"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_turns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stellar-outpost` (bin "stellar-outpost" test) due to 17 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6b39c37f2c54a0fe5b810dfc22fc16b223d8b3271f7afe2ced91a52922f9dfd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b39c37f2c54a0fe5b810dfc22fc16b223d8b3271f7afe2ced91a52922f9dfd7", kill_on_drop: false }` [INFO] [stdout] 6b39c37f2c54a0fe5b810dfc22fc16b223d8b3271f7afe2ced91a52922f9dfd7