[INFO] fetching crate ambientcg 0.2.2... [INFO] checking ambientcg-0.2.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate ambientcg 0.2.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ambientcg 0.2.2 [INFO] finished tweaking crates.io crate ambientcg 0.2.2 [INFO] tweaked toml for crates.io crate ambientcg 0.2.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ambientcg 0.2.2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 173 packages to latest compatible versions [INFO] [stderr] Adding hex_color v1.0.0 (available: v3.0.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding spdx v0.8.1 (available: v0.12.0) [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] [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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b313171dc932ca0c1d8a3a525ef5f0e6cfda0076c4b4102b431acc6c98d24b3 [INFO] running `Command { std: "docker" "start" "-a" "3b313171dc932ca0c1d8a3a525ef5f0e6cfda0076c4b4102b431acc6c98d24b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b313171dc932ca0c1d8a3a525ef5f0e6cfda0076c4b4102b431acc6c98d24b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b313171dc932ca0c1d8a3a525ef5f0e6cfda0076c4b4102b431acc6c98d24b3", kill_on_drop: false }` [INFO] [stdout] 3b313171dc932ca0c1d8a3a525ef5f0e6cfda0076c4b4102b431acc6c98d24b3 [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 -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] 00eba3ac739aeab1104fdd33e1248880f29c5e1df21d52e28c34a6ed4067f29c [INFO] running `Command { std: "docker" "start" "-a" "00eba3ac739aeab1104fdd33e1248880f29c5e1df21d52e28c34a6ed4067f29c", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking spdx v0.8.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking hex_color v1.0.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ambientcg v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/json/util/parse_date.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | let utc = chrono::DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/json/util/parse_date.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | let utc = chrono::DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_str(str: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 20 | | match str.to_lowercase().as_str() { [INFO] [stdout] 21 | | "zip" => Ok(Self::Zip), [INFO] [stdout] 22 | | "exr" => Ok(Self::Exr), [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [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 [INFO] [stdout] --> src/response/asset/download_file_type.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / match str.to_lowercase().as_str() { [INFO] [stdout] 21 | | "zip" => Ok(Self::Zip), [INFO] [stdout] 22 | | "exr" => Ok(Self::Exr), [INFO] [stdout] 23 | | "jpg" => Ok(Self::Jpg), [INFO] [stdout] ... | [INFO] [stdout] 26 | | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | "zip" => Ok(Self::Zip), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | "exr" => Ok(Self::Exr), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | "jpg" => Ok(Self::Jpg), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | "sbsar" => Ok(Self::Sbsar), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | "obj" => Ok(Self::Obj), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | fn from_str(str: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 31 | | match str.to_lowercase().as_str() { [INFO] [stdout] 32 | | "ambientocclusion" => Ok(Self::AmbientOcclusion), [INFO] [stdout] 33 | | "color" => Ok(Self::Color), [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / match str.to_lowercase().as_str() { [INFO] [stdout] 32 | | "ambientocclusion" => Ok(Self::AmbientOcclusion), [INFO] [stdout] 33 | | "color" => Ok(Self::Color), [INFO] [stdout] 34 | | "colour" => Ok(Self::Color), [INFO] [stdout] ... | [INFO] [stdout] 49 | | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | "ambientocclusion" => Ok(Self::AmbientOcclusion), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | "color" => Ok(Self::Color), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | "colour" => Ok(Self::Color), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | "details" => Ok(Self::Details), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | "displacement" => Ok(Self::Displacement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | "emission" => Ok(Self::Emission), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | "flow" => Ok(Self::Flow), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | "metalness" => Ok(Self::Metalness), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | "metallness" => Ok(Self::Metalness), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | "normaldx" => Ok(Self::NormalDX), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | "normalgl" => Ok(Self::NormalGL), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | "opacity" => Ok(Self::Opacity), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | "protrusion" => Ok(Self::Protrusion), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | "roughness" => Ok(Self::Roughness), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | "snowfall" => Ok(Self::Snowfall), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | "soil" => Ok(Self::Soil), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | "preview" => Ok(Self::Preview), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/preview_image.rs:24:55 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_str(str: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 25 | | let parts = str.split("-").collect::>(); [INFO] [stdout] 26 | | if parts.len() < 2 { [INFO] [stdout] 27 | | return Ok(Self::Other(str.to_string())); [INFO] [stdout] ... | [INFO] [stdout] 52 | | }) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/preview_image.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | return Ok(Self::Other(str.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/preview_image.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | Err(_) => return Ok(Self::Other(str.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/preview_image.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / Ok(match parts[1].to_lowercase().as_str() { [INFO] [stdout] 35 | | "png" => Self::Png { [INFO] [stdout] 36 | | resolution [INFO] [stdout] 37 | | }, [INFO] [stdout] ... | [INFO] [stdout] 51 | | _ => Self::Other(str.to_string()) [INFO] [stdout] 52 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/preview_image.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | return Ok(Self::Other(str.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/preview_image.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | Err(_) => return Ok(Self::Other(str.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/json/asset/asset.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | data_type: json.dataType.as_str().parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/json/asset/asset.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | creation_method: json.creationMethod.as_str().parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/json/asset/asset.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 146 | ... file_type: download.filetype.parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/json/asset/asset.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | ... file_type: title.parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/json/asset/asset.rs:187:36 [INFO] [stdout] | [INFO] [stdout] 187 | set.insert(str.parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/json/asset/asset.rs:202:40 [INFO] [stdout] | [INFO] [stdout] 202 | img_map.insert(info.parse().unwrap(), url); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:24:55 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_str(str: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 25 | | match str { [INFO] [stdout] 26 | | "PBRApproximated" => Ok(Self::PBRApproximated), [INFO] [stdout] 27 | | "PBRPhotogrammetry" => Ok(Self::PBRPhotogrammetry), [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / match str { [INFO] [stdout] 26 | | "PBRApproximated" => Ok(Self::PBRApproximated), [INFO] [stdout] 27 | | "PBRPhotogrammetry" => Ok(Self::PBRPhotogrammetry), [INFO] [stdout] 28 | | "PBRProcedural" => Ok(Self::PBRProcedural), [INFO] [stdout] ... | [INFO] [stdout] 35 | | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | "PBRApproximated" => Ok(Self::PBRApproximated), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | "PBRPhotogrammetry" => Ok(Self::PBRPhotogrammetry), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | "PBRProcedural" => Ok(Self::PBRProcedural), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | "PBRMultiAngle" => Ok(Self::PBRMultiAngle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | "PlainPhoto" => Ok(Self::PlainPhoto), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | "3DPhotogrammetry" => Ok(Self::ThreeDPhotogrammetry), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | "HDRIStitched" => Ok(Self::HDRIStitched), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | "HDRIStitchedEdited" => Ok(Self::HDRIStitchedEdited), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | "UnknownOrOther" => Ok(Self::UnknownOrOther), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | fn from_str(str: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 24 | | match str { [INFO] [stdout] 25 | | "3DModel" => Ok(Self::ThreeDModel), [INFO] [stdout] 26 | | "Atlas" => Ok(Self::Atlas), [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / match str { [INFO] [stdout] 25 | | "3DModel" => Ok(Self::ThreeDModel), [INFO] [stdout] 26 | | "Atlas" => Ok(Self::Atlas), [INFO] [stdout] 27 | | "Brush" => Ok(Self::Brush), [INFO] [stdout] ... | [INFO] [stdout] 34 | | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | "3DModel" => Ok(Self::ThreeDModel), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | "Atlas" => Ok(Self::Atlas), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | "Brush" => Ok(Self::Brush), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | "Decal" => Ok(Self::Decal), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | "HDRI" => Ok(Self::HDRI), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | "Material" => Ok(Self::Material), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | "PlainTexture" => Ok(Self::PlainTexture), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | "Substance" => Ok(Self::Substance), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | "Terrain" => Ok(Self::Terrain), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_str(str: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 20 | | match str { [INFO] [stdout] 21 | | "Latest" => Ok(Self::Latest), [INFO] [stdout] 22 | | "Popular" => Ok(Self::Popular), [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / match str { [INFO] [stdout] 21 | | "Latest" => Ok(Self::Latest), [INFO] [stdout] 22 | | "Popular" => Ok(Self::Popular), [INFO] [stdout] 23 | | "Alphabet" => Ok(Self::Alphabet), [INFO] [stdout] 24 | | "Downloads" => Ok(Self::Downloads), [INFO] [stdout] 25 | | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] 26 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | "Latest" => Ok(Self::Latest), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | "Popular" => Ok(Self::Popular), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | "Alphabet" => Ok(Self::Alphabet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | "Downloads" => Ok(Self::Downloads), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_str(str: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 20 | | match str.to_lowercase().as_str() { [INFO] [stdout] 21 | | "zip" => Ok(Self::Zip), [INFO] [stdout] 22 | | "exr" => Ok(Self::Exr), [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [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 [INFO] [stdout] --> src/response/asset/download_file_type.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / match str.to_lowercase().as_str() { [INFO] [stdout] 21 | | "zip" => Ok(Self::Zip), [INFO] [stdout] 22 | | "exr" => Ok(Self::Exr), [INFO] [stdout] 23 | | "jpg" => Ok(Self::Jpg), [INFO] [stdout] ... | [INFO] [stdout] 26 | | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | "zip" => Ok(Self::Zip), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | "exr" => Ok(Self::Exr), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | "jpg" => Ok(Self::Jpg), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | "sbsar" => Ok(Self::Sbsar), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | "obj" => Ok(Self::Obj), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/download_file_type.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | fn from_str(str: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 31 | | match str.to_lowercase().as_str() { [INFO] [stdout] 32 | | "ambientocclusion" => Ok(Self::AmbientOcclusion), [INFO] [stdout] 33 | | "color" => Ok(Self::Color), [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / match str.to_lowercase().as_str() { [INFO] [stdout] 32 | | "ambientocclusion" => Ok(Self::AmbientOcclusion), [INFO] [stdout] 33 | | "color" => Ok(Self::Color), [INFO] [stdout] 34 | | "colour" => Ok(Self::Color), [INFO] [stdout] ... | [INFO] [stdout] 49 | | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | "ambientocclusion" => Ok(Self::AmbientOcclusion), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | "color" => Ok(Self::Color), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | "colour" => Ok(Self::Color), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | "details" => Ok(Self::Details), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | "displacement" => Ok(Self::Displacement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | "emission" => Ok(Self::Emission), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | "flow" => Ok(Self::Flow), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | "metalness" => Ok(Self::Metalness), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | "metallness" => Ok(Self::Metalness), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | "normaldx" => Ok(Self::NormalDX), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | "normalgl" => Ok(Self::NormalGL), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | "opacity" => Ok(Self::Opacity), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | "protrusion" => Ok(Self::Protrusion), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | "roughness" => Ok(Self::Roughness), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | "snowfall" => Ok(Self::Snowfall), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | "soil" => Ok(Self::Soil), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | "preview" => Ok(Self::Preview), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/map.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/preview_image.rs:24:55 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_str(str: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 25 | | let parts = str.split("-").collect::>(); [INFO] [stdout] 26 | | if parts.len() < 2 { [INFO] [stdout] 27 | | return Ok(Self::Other(str.to_string())); [INFO] [stdout] ... | [INFO] [stdout] 52 | | }) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/preview_image.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | return Ok(Self::Other(str.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/preview_image.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | Err(_) => return Ok(Self::Other(str.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/preview_image.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / Ok(match parts[1].to_lowercase().as_str() { [INFO] [stdout] 35 | | "png" => Self::Png { [INFO] [stdout] 36 | | resolution [INFO] [stdout] 37 | | }, [INFO] [stdout] ... | [INFO] [stdout] 51 | | _ => Self::Other(str.to_string()) [INFO] [stdout] 52 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/preview_image.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | return Ok(Self::Other(str.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/response/asset/preview_image.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | Err(_) => return Ok(Self::Other(str.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/json/asset/asset.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | data_type: json.dataType.as_str().parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/json/asset/asset.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | creation_method: json.creationMethod.as_str().parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/json/asset/asset.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 146 | ... file_type: download.filetype.parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/json/asset/asset.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | ... file_type: title.parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/json/asset/asset.rs:187:36 [INFO] [stdout] | [INFO] [stdout] 187 | set.insert(str.parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/json/asset/asset.rs:202:40 [INFO] [stdout] | [INFO] [stdout] 202 | img_map.insert(info.parse().unwrap(), url); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ambientcg` (lib) due to 71 previous errors; 1 warning emitted [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/creation_method.rs:24:55 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_str(str: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 25 | | match str { [INFO] [stdout] 26 | | "PBRApproximated" => Ok(Self::PBRApproximated), [INFO] [stdout] 27 | | "PBRPhotogrammetry" => Ok(Self::PBRPhotogrammetry), [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / match str { [INFO] [stdout] 26 | | "PBRApproximated" => Ok(Self::PBRApproximated), [INFO] [stdout] 27 | | "PBRPhotogrammetry" => Ok(Self::PBRPhotogrammetry), [INFO] [stdout] 28 | | "PBRProcedural" => Ok(Self::PBRProcedural), [INFO] [stdout] ... | [INFO] [stdout] 35 | | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | "PBRApproximated" => Ok(Self::PBRApproximated), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | "PBRPhotogrammetry" => Ok(Self::PBRPhotogrammetry), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | "PBRProcedural" => Ok(Self::PBRProcedural), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | "PBRMultiAngle" => Ok(Self::PBRMultiAngle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | "PlainPhoto" => Ok(Self::PlainPhoto), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | "3DPhotogrammetry" => Ok(Self::ThreeDPhotogrammetry), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | "HDRIStitched" => Ok(Self::HDRIStitched), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | "HDRIStitchedEdited" => Ok(Self::HDRIStitchedEdited), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | "UnknownOrOther" => Ok(Self::UnknownOrOther), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/creation_method.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | fn from_str(str: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 24 | | match str { [INFO] [stdout] 25 | | "3DModel" => Ok(Self::ThreeDModel), [INFO] [stdout] 26 | | "Atlas" => Ok(Self::Atlas), [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / match str { [INFO] [stdout] 25 | | "3DModel" => Ok(Self::ThreeDModel), [INFO] [stdout] 26 | | "Atlas" => Ok(Self::Atlas), [INFO] [stdout] 27 | | "Brush" => Ok(Self::Brush), [INFO] [stdout] ... | [INFO] [stdout] 34 | | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | "3DModel" => Ok(Self::ThreeDModel), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | "Atlas" => Ok(Self::Atlas), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | "Brush" => Ok(Self::Brush), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | "Decal" => Ok(Self::Decal), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | "HDRI" => Ok(Self::HDRI), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | "Material" => Ok(Self::Material), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | "PlainTexture" => Ok(Self::PlainTexture), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | "Substance" => Ok(Self::Substance), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | "Terrain" => Ok(Self::Terrain), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/data_type.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_str(str: &str) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 20 | | match str { [INFO] [stdout] 21 | | "Latest" => Ok(Self::Latest), [INFO] [stdout] 22 | | "Popular" => Ok(Self::Popular), [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / match str { [INFO] [stdout] 21 | | "Latest" => Ok(Self::Latest), [INFO] [stdout] 22 | | "Popular" => Ok(Self::Popular), [INFO] [stdout] 23 | | "Alphabet" => Ok(Self::Alphabet), [INFO] [stdout] 24 | | "Downloads" => Ok(Self::Downloads), [INFO] [stdout] 25 | | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] 26 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | "Latest" => Ok(Self::Latest), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | "Popular" => Ok(Self::Popular), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | "Alphabet" => Ok(Self::Alphabet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | "Downloads" => Ok(Self::Downloads), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sort.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | x => Ok(Self::Unparsed(x.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ambientcg` (lib test) due to 71 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "00eba3ac739aeab1104fdd33e1248880f29c5e1df21d52e28c34a6ed4067f29c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00eba3ac739aeab1104fdd33e1248880f29c5e1df21d52e28c34a6ed4067f29c", kill_on_drop: false }` [INFO] [stdout] 00eba3ac739aeab1104fdd33e1248880f29c5e1df21d52e28c34a6ed4067f29c