[INFO] fetching crate radip 0.1.0... [INFO] checking radip-0.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate radip 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate radip 0.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate radip 0.1.0 [INFO] finished tweaking crates.io crate radip 0.1.0 [INFO] tweaked toml for crates.io crate radip 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bef60908d6b1b93f9341f521d4a466a926409f992044dd5dda888d72bf1a5c0 [INFO] running `Command { std: "docker" "start" "-a" "3bef60908d6b1b93f9341f521d4a466a926409f992044dd5dda888d72bf1a5c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bef60908d6b1b93f9341f521d4a466a926409f992044dd5dda888d72bf1a5c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bef60908d6b1b93f9341f521d4a466a926409f992044dd5dda888d72bf1a5c0", kill_on_drop: false }` [INFO] [stdout] 3bef60908d6b1b93f9341f521d4a466a926409f992044dd5dda888d72bf1a5c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0295333ab2fa93bb4e6190e038f4e10156dc7ebcfb906764524ddf14d8f41ade [INFO] running `Command { std: "docker" "start" "-a" "0295333ab2fa93bb4e6190e038f4e10156dc7ebcfb906764524ddf14d8f41ade", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking frozenset v0.2.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling typetag-impl v0.2.18 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking typetag v0.2.18 [INFO] [stderr] Checking radip v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/paradox.rs (2 fixes) [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Fixed src/utils.rs (2 fixes) [INFO] [stderr] Fixed src/test.rs (1 fix) [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | map: &crate::Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | state: &crate::MapState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | map: &crate::Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | state: &crate::MapState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | map: &crate::Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | state: &crate::MapState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | map: &Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | state: &MapState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_coast` [INFO] [stdout] --> src/base.rs:542:21 [INFO] [stdout] | [INFO] [stdout] 542 | let (dest_prov, dest_coast) = &orders[src] [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_coast` [INFO] [stdout] --> src/base.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | let (dest_prov, dest_coast) = &orders[src] [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_coast` [INFO] [stdout] --> src/base.rs:624:21 [INFO] [stdout] | [INFO] [stdout] 624 | let (dest_prov, dest_coast) = &orders[src] [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | map: &Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `natl` [INFO] [stdout] --> src/utils.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | Unit::Army(natl) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_natl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `natl` [INFO] [stdout] --> src/utils.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | Unit::Fleet(natl, src_coast) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_natl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_coast` [INFO] [stdout] --> src/test.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | let (src_prov, src_coast) = parse_province(parts[3]); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_coast` [INFO] [stdout] --> src/test.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | let (dest_prov, dest_coast) = parse_province(parts[5]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_coast` [INFO] [stdout] --> src/test.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 107 | let (dest_prov, dest_coast) = parse_province(parts[3]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_coast` [INFO] [stdout] --> src/test.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | let (src_prov, src_coast) = parse_province(parts[3]); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_coast` [INFO] [stdout] --> src/test.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | let (dest_prov, dest_coast) = parse_province(parts[5]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_status` [INFO] [stdout] --> src/paradox.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_component(map: &Map, state: &MapState, orders: &Orders, order_status: &mut HashMap, start: &str) -> FrozenSet { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/test.rs (2 fixes) [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | map: &crate::Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.51s [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | state: &crate::MapState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | map: &crate::Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | state: &crate::MapState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | map: &crate::Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | state: &crate::MapState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | map: &Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | state: &MapState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_coast` [INFO] [stdout] --> src/base.rs:542:21 [INFO] [stdout] | [INFO] [stdout] 542 | let (dest_prov, dest_coast) = &orders[src] [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_coast` [INFO] [stdout] --> src/base.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | let (dest_prov, dest_coast) = &orders[src] [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_coast` [INFO] [stdout] --> src/base.rs:624:21 [INFO] [stdout] | [INFO] [stdout] 624 | let (dest_prov, dest_coast) = &orders[src] [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | map: &Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `natl` [INFO] [stdout] --> src/utils.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | Unit::Army(natl) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_natl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `natl` [INFO] [stdout] --> src/utils.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | Unit::Fleet(natl, src_coast) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_natl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_status` [INFO] [stdout] --> src/paradox.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_component(map: &Map, state: &MapState, orders: &Orders, order_status: &mut HashMap, start: &str) -> FrozenSet { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> src/test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Test { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/test.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Test { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 14 | pub fn empty(name: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_province` is never used [INFO] [stdout] --> src/test.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn parse_province(src: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking radip v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/test.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | fn datc() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use serde::de::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use serde::ser::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Map` [INFO] [stdout] --> src/test.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | let map = Map::classic(); [INFO] [stdout] | ^^^ use of undeclared type `Map` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Map; [INFO] [stdout] | [INFO] [stdout] 1 + use std::iter::Map; [INFO] [stdout] | [INFO] [stdout] 1 + use serde_json::Map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/test.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | Box::new(base::Move { [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/test.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | ... Box::new(base::SupportMove { [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/test.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | ... Box::new(base::SupportHold { [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/test.rs:118:60 [INFO] [stdout] | [INFO] [stdout] 118 | .insert(prov.to_string(), Box::new(base::Hold)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/test.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | Box::new(base::Convoy { [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MapState` in this scope [INFO] [stdout] --> src/test.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | let state = MapState { units: test.units, ownership: HashMap::new() }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::MapState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `adjudicate` in this scope [INFO] [stdout] --> src/test.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | let results = adjudicate(&map, &state, &test.orders); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::adjudicate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `radip` (lib test) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | map: &crate::Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | state: &crate::MapState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | map: &crate::Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | state: &crate::MapState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | map: &crate::Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | state: &crate::MapState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | map: &Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | state: &MapState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_coast` [INFO] [stdout] --> src/base.rs:542:21 [INFO] [stdout] | [INFO] [stdout] 542 | let (dest_prov, dest_coast) = &orders[src] [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_coast` [INFO] [stdout] --> src/base.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | let (dest_prov, dest_coast) = &orders[src] [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_coast` [INFO] [stdout] --> src/base.rs:624:21 [INFO] [stdout] | [INFO] [stdout] 624 | let (dest_prov, dest_coast) = &orders[src] [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_coast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/base.rs:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | map: &Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `natl` [INFO] [stdout] --> src/utils.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | Unit::Army(natl) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_natl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `natl` [INFO] [stdout] --> src/utils.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | Unit::Fleet(natl, src_coast) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_natl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_status` [INFO] [stdout] --> src/paradox.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_component(map: &Map, state: &MapState, orders: &Orders, order_status: &mut HashMap, start: &str) -> FrozenSet { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> src/test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Test { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/test.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Test { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 14 | pub fn empty(name: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_province` is never used [INFO] [stdout] --> src/test.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn parse_province(src: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0295333ab2fa93bb4e6190e038f4e10156dc7ebcfb906764524ddf14d8f41ade", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0295333ab2fa93bb4e6190e038f4e10156dc7ebcfb906764524ddf14d8f41ade", kill_on_drop: false }` [INFO] [stdout] 0295333ab2fa93bb4e6190e038f4e10156dc7ebcfb906764524ddf14d8f41ade