[INFO] fetching crate cs2-nav 0.3.18... [INFO] checking cs2-nav-0.3.18 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate cs2-nav 0.3.18 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate cs2-nav 0.3.18 [INFO] finished tweaking crates.io crate cs2-nav 0.3.18 [INFO] tweaked toml for crates.io crate cs2-nav 0.3.18 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cs2-nav 0.3.18 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cs2-nav 0.3.18 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e60cb2f650023da792d563b285f471b923631b8e40136c6e72691e1285cc9b70 [INFO] running `Command { std: "docker" "start" "-a" "e60cb2f650023da792d563b285f471b923631b8e40136c6e72691e1285cc9b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e60cb2f650023da792d563b285f471b923631b8e40136c6e72691e1285cc9b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e60cb2f650023da792d563b285f471b923631b8e40136c6e72691e1285cc9b70", kill_on_drop: false }` [INFO] [stdout] e60cb2f650023da792d563b285f471b923631b8e40136c6e72691e1285cc9b70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fd3b8f76be186fd84f8bf71eaaf6f6f7bd0bb1459169da8a1c61184088a241a [INFO] running `Command { std: "docker" "start" "-a" "8fd3b8f76be186fd84f8bf71eaaf6f6f7bd0bb1459169da8a1c61184088a241a", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking i_tree v0.8.3 [INFO] [stderr] Checking i_key_sort v0.2.0 [INFO] [stderr] Checking robust v1.1.0 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking geographiclib-rs v0.2.4 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling pyo3-build-config v0.25.1 [INFO] [stderr] Checking spade v2.13.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking rstar v0.12.2 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Checking petgraph v0.8.2 [INFO] [stderr] Checking geo-types v0.7.16 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking earcutr v0.4.3 [INFO] [stderr] Compiling pyo3-ffi v0.25.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.25.1 [INFO] [stderr] Compiling pyo3 v0.25.1 [INFO] [stderr] Checking simple-tqdm v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Compiling pyo3-macros v0.25.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking i_float v1.7.0 [INFO] [stderr] Checking serde_json v1.0.141 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking i_shape v1.7.0 [INFO] [stderr] Checking i_overlay v2.0.5 [INFO] [stderr] Checking geo v0.30.0 [INFO] [stderr] Checking tikv-jemallocator v0.6.0 [INFO] [stderr] Checking cs2-nav v0.3.18 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/collisions.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_centroid(&self) -> Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/collisions.rs:45:88 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn ray_intersection(&self, ray_origin: &Position, ray_direction: &Position) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/collisions.rs:455:67 [INFO] [stdout] | [INFO] [stdout] 455 | fn py_read_tri_file(tri_file: PathBuf, buffer_size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/nav.rs:320:49 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn contains(&self, point: &Position) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/nav.rs:325:58 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn centroid_distance(&self, point: &Position) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/nav.rs:772:66 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn find_path(&self, start: AreaIdent, end: AreaIdent) -> PathResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/nav.rs:863:56 [INFO] [stdout] | [INFO] [stdout] 863 | pub fn find_area_py(&self, position: &Position) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/nav.rs:870:73 [INFO] [stdout] | [INFO] [stdout] 870 | pub fn find_closest_area_centroid_py(&self, position: &Position) -> NavArea { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/nav.rs:886:43 [INFO] [stdout] | [INFO] [stdout] 886 | pub fn from_json_py(path: PathBuf) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/nav.rs:1500:75 [INFO] [stdout] | [INFO] [stdout] 1500 | #[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq, Hash, Copy, IntoPyObject)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `IntoPyObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/nav.rs:1654:6 [INFO] [stdout] | [INFO] [stdout] 1654 | ) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/nav.rs:1662:74 [INFO] [stdout] | [INFO] [stdout] 1662 | pub fn py_group_nav_areas(nav_areas: Vec, group_size: usize) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:120:45 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn distance(&self, other: &Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:125:48 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn distance_2d(&self, other: &Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn dot(&self, other: &Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:136:42 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn cross(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn length(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn normalize(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn can_jump_to(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:244:61 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn idw_py(points: Vec, target: (f64, f64)) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cs2-nav` (lib test) due to 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/collisions.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_centroid(&self) -> Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/collisions.rs:45:88 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn ray_intersection(&self, ray_origin: &Position, ray_direction: &Position) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/collisions.rs:455:67 [INFO] [stdout] | [INFO] [stdout] 455 | fn py_read_tri_file(tri_file: PathBuf, buffer_size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/nav.rs:320:49 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn contains(&self, point: &Position) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/nav.rs:325:58 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn centroid_distance(&self, point: &Position) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/nav.rs:772:66 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn find_path(&self, start: AreaIdent, end: AreaIdent) -> PathResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/nav.rs:863:56 [INFO] [stdout] | [INFO] [stdout] 863 | pub fn find_area_py(&self, position: &Position) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/nav.rs:870:73 [INFO] [stdout] | [INFO] [stdout] 870 | pub fn find_closest_area_centroid_py(&self, position: &Position) -> NavArea { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/nav.rs:886:43 [INFO] [stdout] | [INFO] [stdout] 886 | pub fn from_json_py(path: PathBuf) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/nav.rs:1500:75 [INFO] [stdout] | [INFO] [stdout] 1500 | #[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq, Hash, Copy, IntoPyObject)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `IntoPyObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/nav.rs:1654:6 [INFO] [stdout] | [INFO] [stdout] 1654 | ) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/nav.rs:1662:74 [INFO] [stdout] | [INFO] [stdout] 1662 | pub fn py_group_nav_areas(nav_areas: Vec, group_size: usize) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:120:45 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn distance(&self, other: &Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:125:48 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn distance_2d(&self, other: &Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn dot(&self, other: &Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:136:42 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn cross(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn length(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn normalize(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn can_jump_to(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/position.rs:244:61 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn idw_py(points: Vec, target: (f64, f64)) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cs2-nav` (lib) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "8fd3b8f76be186fd84f8bf71eaaf6f6f7bd0bb1459169da8a1c61184088a241a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd3b8f76be186fd84f8bf71eaaf6f6f7bd0bb1459169da8a1c61184088a241a", kill_on_drop: false }` [INFO] [stdout] 8fd3b8f76be186fd84f8bf71eaaf6f6f7bd0bb1459169da8a1c61184088a241a