[INFO] fetching crate twmap 0.14.0... [INFO] testing twmap-0.14.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate twmap 0.14.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate twmap 0.14.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate twmap 0.14.0 [INFO] tweaked toml for crates.io crate twmap 0.14.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate twmap 0.14.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate twmap 0.14.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e9a5d96258e0ceea29a2384adc92bdbb7daca6535cc048ded5f5c4b66f56b16 [INFO] running `Command { std: "docker" "start" "-a" "7e9a5d96258e0ceea29a2384adc92bdbb7daca6535cc048ded5f5c4b66f56b16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e9a5d96258e0ceea29a2384adc92bdbb7daca6535cc048ded5f5c4b66f56b16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e9a5d96258e0ceea29a2384adc92bdbb7daca6535cc048ded5f5c4b66f56b16", kill_on_drop: false }` [INFO] [stdout] 7e9a5d96258e0ceea29a2384adc92bdbb7daca6535cc048ded5f5c4b66f56b16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59cde4b1e99c127641cd65012912e9ff520f0f50d0edf75e518e4f43ea610354 [INFO] running `Command { std: "docker" "start" "-a" "59cde4b1e99c127641cd65012912e9ff520f0f50d0edf75e518e4f43ea610354", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling zlib-rs v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling fixed v1.24.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling half v2.3.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling twstorage v0.2.2 [INFO] [stderr] Compiling opus_headers v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling vek v0.17.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling sanitize-filename v0.6.0 [INFO] [stderr] Compiling structview_derive v1.1.0 [INFO] [stderr] Compiling libz-rs-sys v0.5.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling structview v1.1.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling twmap v0.14.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `twstorage::read_file`: Use open_file instead [INFO] [stdout] --> src/map/edit/mod.rs:247:35 [INFO] [stdout] | [INFO] [stdout] 247 | let file = twstorage::read_file(&path, version.into())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `disk` is never read [INFO] [stdout] --> src/map/edit/scale.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | disk.radius = disk.radius.checked_mul(factor.checked_as()?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/datafile/parse.rs:406:24 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 406 | pub fn parse(data: &[u8]) -> Result, DatafileParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn save_to_datafile_unwrap(&self) -> (HashMap>, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn save_to_datafile_unwrap(&self) -> (HashMap>, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | fn save(map_images: &[Image], version: Version, data_len: i32) -> Option { [INFO] [stdout] | ^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | fn save(map_images: &[Image], version: Version, data_len: i32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:430:24 [INFO] [stdout] | [INFO] [stdout] 430 | map_envelopes: &[Envelope], [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 433 | Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] 434 | ItemTypeInsert, [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] 435 | Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 433 ~ Option>, [INFO] [stdout] 434 ~ ItemTypeInsert<'_>, [INFO] [stdout] 435 ~ Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:531:25 [INFO] [stdout] | [INFO] [stdout] 531 | fn save(map_groups: &[Group]) -> ItemTypeInsert { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 531 | fn save(map_groups: &[Group]) -> ItemTypeInsert<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:644:16 [INFO] [stdout] | [INFO] [stdout] 644 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 644 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:748:16 [INFO] [stdout] | [INFO] [stdout] 748 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 748 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:832:25 [INFO] [stdout] | [INFO] [stdout] 832 | fn create_data_item(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 832 | fn create_data_item(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:844:16 [INFO] [stdout] | [INFO] [stdout] 844 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 844 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:900:25 [INFO] [stdout] | [INFO] [stdout] 900 | fn create_data_item(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 900 | fn create_data_item(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:912:16 [INFO] [stdout] | [INFO] [stdout] 912 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 912 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:934:21 [INFO] [stdout] | [INFO] [stdout] 934 | fn save(groups: &[Group], version: Version, data_len: i32) -> ItemTypeInsert { [INFO] [stdout] | ^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 934 | fn save(groups: &[Group], version: Version, data_len: i32) -> ItemTypeInsert<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:958:16 [INFO] [stdout] | [INFO] [stdout] 958 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 958 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:977:25 [INFO] [stdout] | [INFO] [stdout] 977 | fn save(map_sounds: &[Sound], data_len: i32) -> Option { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 977 | fn save(map_sounds: &[Sound], data_len: i32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:996:16 [INFO] [stdout] | [INFO] [stdout] 996 | fn itemize(&self, id: u16, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 996 | fn itemize(&self, id: u16, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:1017:21 [INFO] [stdout] | [INFO] [stdout] 1017 | fn save(groups: &[Group]) -> Option { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1017 | fn save(groups: &[Group]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.96s [INFO] running `Command { std: "docker" "inspect" "59cde4b1e99c127641cd65012912e9ff520f0f50d0edf75e518e4f43ea610354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59cde4b1e99c127641cd65012912e9ff520f0f50d0edf75e518e4f43ea610354", kill_on_drop: false }` [INFO] [stdout] 59cde4b1e99c127641cd65012912e9ff520f0f50d0edf75e518e4f43ea610354 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9a244fa98e3801ac3fa3b00a088aa644d1b8902bca26e95c4ef952934d87ff7 [INFO] running `Command { std: "docker" "start" "-a" "d9a244fa98e3801ac3fa3b00a088aa644d1b8902bca26e95c4ef952934d87ff7", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling twmap v0.14.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `twstorage::read_file`: Use open_file instead [INFO] [stdout] --> src/map/edit/mod.rs:247:35 [INFO] [stdout] | [INFO] [stdout] 247 | let file = twstorage::read_file(&path, version.into())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stdout] warning: value assigned to `disk` is never read [INFO] [stdout] --> src/map/edit/scale.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | disk.radius = disk.radius.checked_mul(factor.checked_as()?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/datafile/parse.rs:406:24 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 406 | pub fn parse(data: &[u8]) -> Result, DatafileParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn save_to_datafile_unwrap(&self) -> (HashMap>, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn save_to_datafile_unwrap(&self) -> (HashMap>, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | fn save(map_images: &[Image], version: Version, data_len: i32) -> Option { [INFO] [stdout] | ^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | fn save(map_images: &[Image], version: Version, data_len: i32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:430:24 [INFO] [stdout] | [INFO] [stdout] 430 | map_envelopes: &[Envelope], [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 433 | Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] 434 | ItemTypeInsert, [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] 435 | Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 433 ~ Option>, [INFO] [stdout] 434 ~ ItemTypeInsert<'_>, [INFO] [stdout] 435 ~ Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:531:25 [INFO] [stdout] | [INFO] [stdout] 531 | fn save(map_groups: &[Group]) -> ItemTypeInsert { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 531 | fn save(map_groups: &[Group]) -> ItemTypeInsert<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:644:16 [INFO] [stdout] | [INFO] [stdout] 644 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 644 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:748:16 [INFO] [stdout] | [INFO] [stdout] 748 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 748 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:832:25 [INFO] [stdout] | [INFO] [stdout] 832 | fn create_data_item(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 832 | fn create_data_item(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:844:16 [INFO] [stdout] | [INFO] [stdout] 844 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 844 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:900:25 [INFO] [stdout] | [INFO] [stdout] 900 | fn create_data_item(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 900 | fn create_data_item(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:912:16 [INFO] [stdout] | [INFO] [stdout] 912 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 912 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:934:21 [INFO] [stdout] | [INFO] [stdout] 934 | fn save(groups: &[Group], version: Version, data_len: i32) -> ItemTypeInsert { [INFO] [stdout] | ^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 934 | fn save(groups: &[Group], version: Version, data_len: i32) -> ItemTypeInsert<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:958:16 [INFO] [stdout] | [INFO] [stdout] 958 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 958 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:977:25 [INFO] [stdout] | [INFO] [stdout] 977 | fn save(map_sounds: &[Sound], data_len: i32) -> Option { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 977 | fn save(map_sounds: &[Sound], data_len: i32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:996:16 [INFO] [stdout] | [INFO] [stdout] 996 | fn itemize(&self, id: u16, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 996 | fn itemize(&self, id: u16, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:1017:21 [INFO] [stdout] | [INFO] [stdout] 1017 | fn save(groups: &[Group]) -> Option { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1017 | fn save(groups: &[Group]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `twstorage::read_file`: Use open_file instead [INFO] [stdout] --> src/map/edit/mod.rs:247:35 [INFO] [stdout] | [INFO] [stdout] 247 | let file = twstorage::read_file(&path, version.into())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `disk` is never read [INFO] [stdout] --> src/map/edit/scale.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | disk.radius = disk.radius.checked_mul(factor.checked_as()?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/datafile/parse.rs:406:24 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 406 | pub fn parse(data: &[u8]) -> Result, DatafileParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn save_to_datafile_unwrap(&self) -> (HashMap>, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn save_to_datafile_unwrap(&self) -> (HashMap>, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | fn save(map_images: &[Image], version: Version, data_len: i32) -> Option { [INFO] [stdout] | ^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | fn save(map_images: &[Image], version: Version, data_len: i32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:430:24 [INFO] [stdout] | [INFO] [stdout] 430 | map_envelopes: &[Envelope], [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 433 | Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] 434 | ItemTypeInsert, [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] 435 | Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 433 ~ Option>, [INFO] [stdout] 434 ~ ItemTypeInsert<'_>, [INFO] [stdout] 435 ~ Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:531:25 [INFO] [stdout] | [INFO] [stdout] 531 | fn save(map_groups: &[Group]) -> ItemTypeInsert { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 531 | fn save(map_groups: &[Group]) -> ItemTypeInsert<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:644:16 [INFO] [stdout] | [INFO] [stdout] 644 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 644 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:748:16 [INFO] [stdout] | [INFO] [stdout] 748 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 748 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:832:25 [INFO] [stdout] | [INFO] [stdout] 832 | fn create_data_item(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 832 | fn create_data_item(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:844:16 [INFO] [stdout] | [INFO] [stdout] 844 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 844 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:900:25 [INFO] [stdout] | [INFO] [stdout] 900 | fn create_data_item(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 900 | fn create_data_item(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:912:16 [INFO] [stdout] | [INFO] [stdout] 912 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 912 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:934:21 [INFO] [stdout] | [INFO] [stdout] 934 | fn save(groups: &[Group], version: Version, data_len: i32) -> ItemTypeInsert { [INFO] [stdout] | ^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 934 | fn save(groups: &[Group], version: Version, data_len: i32) -> ItemTypeInsert<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:958:16 [INFO] [stdout] | [INFO] [stdout] 958 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 958 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:977:25 [INFO] [stdout] | [INFO] [stdout] 977 | fn save(map_sounds: &[Sound], data_len: i32) -> Option { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 977 | fn save(map_sounds: &[Sound], data_len: i32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:996:16 [INFO] [stdout] | [INFO] [stdout] 996 | fn itemize(&self, id: u16, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 996 | fn itemize(&self, id: u16, data_len: i32) -> (Item, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/save.rs:1017:21 [INFO] [stdout] | [INFO] [stdout] 1017 | fn save(groups: &[Group]) -> Option { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1017 | fn save(groups: &[Group]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.04s [INFO] running `Command { std: "docker" "inspect" "d9a244fa98e3801ac3fa3b00a088aa644d1b8902bca26e95c4ef952934d87ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9a244fa98e3801ac3fa3b00a088aa644d1b8902bca26e95c4ef952934d87ff7", kill_on_drop: false }` [INFO] [stdout] d9a244fa98e3801ac3fa3b00a088aa644d1b8902bca26e95c4ef952934d87ff7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d0e2e9176c09cb081cbdc4ffe1e2895eafe544d8befbad7c52467d56ca53cee5 [INFO] running `Command { std: "docker" "start" "-a" "d0e2e9176c09cb081cbdc4ffe1e2895eafe544d8befbad7c52467d56ca53cee5", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `twstorage::read_file`: Use open_file instead [INFO] [stderr] --> src/map/edit/mod.rs:247:35 [INFO] [stderr] | [INFO] [stderr] 247 | let file = twstorage::read_file(&path, version.into())?; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `disk` is never read [INFO] [stderr] --> src/map/edit/scale.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | disk.radius = disk.radius.checked_mul(factor.checked_as()?)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/datafile/parse.rs:406:24 [INFO] [stderr] | [INFO] [stderr] 406 | pub fn parse(data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 406 | pub fn parse(data: &[u8]) -> Result, DatafileParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:127:43 [INFO] [stderr] | [INFO] [stderr] 127 | pub(crate) fn save_to_datafile_unwrap(&self) -> (HashMap>, Vec>) { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 127 | pub(crate) fn save_to_datafile_unwrap(&self) -> (HashMap>, Vec>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:229:25 [INFO] [stderr] | [INFO] [stderr] 229 | fn save(map_images: &[Image], version: Version, data_len: i32) -> Option { [INFO] [stderr] | ^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 229 | fn save(map_images: &[Image], version: Version, data_len: i32) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:249:16 [INFO] [stderr] | [INFO] [stderr] 249 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 249 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:430:24 [INFO] [stderr] | [INFO] [stderr] 430 | map_envelopes: &[Envelope], [INFO] [stderr] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 433 | Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] 434 | ItemTypeInsert, [INFO] [stderr] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] 435 | Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 433 ~ Option>, [INFO] [stderr] 434 ~ ItemTypeInsert<'_>, [INFO] [stderr] 435 ~ Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:531:25 [INFO] [stderr] | [INFO] [stderr] 531 | fn save(map_groups: &[Group]) -> ItemTypeInsert { [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 531 | fn save(map_groups: &[Group]) -> ItemTypeInsert<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:644:16 [INFO] [stderr] | [INFO] [stderr] 644 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 644 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:748:16 [INFO] [stderr] | [INFO] [stderr] 748 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 748 | fn itemize(&self, version: Version, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:832:25 [INFO] [stderr] | [INFO] [stderr] 832 | fn create_data_item(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 832 | fn create_data_item(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:844:16 [INFO] [stderr] | [INFO] [stderr] 844 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 844 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:900:25 [INFO] [stderr] | [INFO] [stderr] 900 | fn create_data_item(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 900 | fn create_data_item(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:912:16 [INFO] [stderr] | [INFO] [stderr] 912 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 912 | fn itemize(&self, data_len: i32, id: u16) -> (Item, Vec>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:934:21 [INFO] [stderr] | [INFO] [stderr] 934 | fn save(groups: &[Group], version: Version, data_len: i32) -> ItemTypeInsert { [INFO] [stderr] | ^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 934 | fn save(groups: &[Group], version: Version, data_len: i32) -> ItemTypeInsert<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:958:16 [INFO] [stderr] | [INFO] [stderr] 958 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 958 | fn itemize(&self, id: u16, version: Version, data_len: i32) -> (Item, Vec>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:977:25 [INFO] [stderr] | [INFO] [stderr] 977 | fn save(map_sounds: &[Sound], data_len: i32) -> Option { [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 977 | fn save(map_sounds: &[Sound], data_len: i32) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:996:16 [INFO] [stderr] | [INFO] [stderr] 996 | fn itemize(&self, id: u16, data_len: i32) -> (Item, Vec>) { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 996 | fn itemize(&self, id: u16, data_len: i32) -> (Item, Vec>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/map/save.rs:1017:21 [INFO] [stderr] | [INFO] [stderr] 1017 | fn save(groups: &[Group]) -> Option { [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1017 | fn save(groups: &[Group]) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `twmap` (lib) generated 19 warnings (run `cargo fix --lib -p twmap` to apply 17 suggestions) [INFO] [stderr] warning: `twmap` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/twmap-99571127fb6fc2e4) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test map::edit::optimize_mapres::rasterizer ... ok [INFO] [stderr] Running tests/datafile.rs (/opt/rustwide/target/debug/deps/datafile-2e0351b3cd337118) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test minimal ... ok [INFO] [stdout] test dm1_test ... ok [INFO] [stdout] test editor_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Running tests/map.rs (/opt/rustwide/target/debug/deps/map-32e9c5b6a49b72e2) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test custom_test_teeworlds07 ... ok [INFO] [stdout] test tile_flags_ddnet_test ... ok [INFO] [stdout] test tile_flags_teeworlds_test ... ok [INFO] [stdout] test custom_test_ddnet ... ok [INFO] [stdout] test editor_test ... ok [INFO] [stdout] test dm1_test_vanilla ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] Running tests/map_dir.rs (/opt/rustwide/target/debug/deps/map_dir-2cfd00fe5aae2a45) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test editor_dir ... ok [INFO] [stdout] test dm1_dir ... ok [INFO] [stdout] test tileflags_ddnet_dir ... ok [INFO] [stdout] test tileflags_teeworlds_dir ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.61s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] Running tests/map_edit.rs (/opt/rustwide/target/debug/deps/map_edit-1bba5dde2a1839d3) [INFO] [stdout] test rotate ... ok [INFO] [stdout] test mirror_rotate ... ok [INFO] [stdout] test mirror ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] Doc-tests twmap [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 20) ... ok [INFO] [stdout] test src/lib.rs - (line 61) ... ok [INFO] [stdout] test src/lib.rs - (line 40) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.72s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d0e2e9176c09cb081cbdc4ffe1e2895eafe544d8befbad7c52467d56ca53cee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e2e9176c09cb081cbdc4ffe1e2895eafe544d8befbad7c52467d56ca53cee5", kill_on_drop: false }` [INFO] [stdout] d0e2e9176c09cb081cbdc4ffe1e2895eafe544d8befbad7c52467d56ca53cee5