[INFO] cloning repository https://github.com/Elttob/ambientcg-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Elttob/ambientcg-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElttob%2Fambientcg-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElttob%2Fambientcg-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f936a455c127bad6b813ffc0c84a6c0e63a3457 [INFO] checking Elttob/ambientcg-rs against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElttob%2Fambientcg-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Elttob/ambientcg-rs [INFO] finished tweaking git repo https://github.com/Elttob/ambientcg-rs [INFO] tweaked toml for git repo https://github.com/Elttob/ambientcg-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Elttob/ambientcg-rs on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Elttob/ambientcg-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 837f3fbd292e33c49b8c8253ee20aaa7b68aada8e2cb8675dc43abdeb85380ac [INFO] running `Command { std: "docker" "start" "-a" "837f3fbd292e33c49b8c8253ee20aaa7b68aada8e2cb8675dc43abdeb85380ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "837f3fbd292e33c49b8c8253ee20aaa7b68aada8e2cb8675dc43abdeb85380ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "837f3fbd292e33c49b8c8253ee20aaa7b68aada8e2cb8675dc43abdeb85380ac", kill_on_drop: false }` [INFO] [stdout] 837f3fbd292e33c49b8c8253ee20aaa7b68aada8e2cb8675dc43abdeb85380ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d26b79d4ec3f7e9794e60727505c5e0ea45e41e57173d52cc5c589ffb77a8ab6 [INFO] running `Command { std: "docker" "start" "-a" "d26b79d4ec3f7e9794e60727505c5e0ea45e41e57173d52cc5c589ffb77a8ab6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.131 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking iana-time-zone v0.1.44 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking spdx v0.8.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking hex_color v1.0.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking ambientcg v0.2.2 (/opt/rustwide/workdir) [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] [stderr] error: could not compile `ambientcg` (lib test) due to 71 previous errors [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] [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/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] [stderr] error: could not compile `ambientcg` (lib) due to 71 previous errors [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] running `Command { std: "docker" "inspect" "d26b79d4ec3f7e9794e60727505c5e0ea45e41e57173d52cc5c589ffb77a8ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26b79d4ec3f7e9794e60727505c5e0ea45e41e57173d52cc5c589ffb77a8ab6", kill_on_drop: false }` [INFO] [stdout] d26b79d4ec3f7e9794e60727505c5e0ea45e41e57173d52cc5c589ffb77a8ab6