[INFO] fetching crate unity-hub 0.5.2... [INFO] testing unity-hub-0.5.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate unity-hub 0.5.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate unity-hub 0.5.2 [INFO] finished tweaking crates.io crate unity-hub 0.5.2 [INFO] tweaked toml for crates.io crate unity-hub 0.5.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate unity-hub 0.5.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate unity-hub 0.5.2 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded widestring v1.2.0 [INFO] [stderr] Downloaded typed-builder v0.22.0 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded quinn-udp v0.5.14 [INFO] [stderr] Downloaded serde_core v1.0.223 [INFO] [stderr] Downloaded serde_derive v1.0.223 [INFO] [stderr] Downloaded nom v8.0.0 [INFO] [stderr] Downloaded quinn-proto v0.11.13 [INFO] [stderr] Downloaded quinn v0.11.9 [INFO] [stderr] Downloaded security-framework v3.4.0 [INFO] [stderr] Downloaded uvm_live_platform v0.7.0 [INFO] [stderr] Downloaded rustls-native-certs v0.8.1 [INFO] [stderr] Downloaded typed-builder-macro v0.22.0 [INFO] [stderr] Downloaded serde v1.0.223 [INFO] [stderr] Downloaded redox_users v0.2.0 [INFO] [stderr] Downloaded argon2rs v0.2.5 [INFO] [stderr] Downloaded dirs-2 v3.0.1 [INFO] [stderr] Downloaded ordered-float v5.0.0 [INFO] [stderr] Downloaded ssri v9.2.0 [INFO] [stderr] Downloaded unity-version v0.3.1 [INFO] [stderr] Downloaded unity-types v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] febe06d8352ea10ca45a91b31de518d99c4b25a663d6f3276d5d3be90df336c9 [INFO] running `Command { std: "docker" "start" "-a" "febe06d8352ea10ca45a91b31de518d99c4b25a663d6f3276d5d3be90df336c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "febe06d8352ea10ca45a91b31de518d99c4b25a663d6f3276d5d3be90df336c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "febe06d8352ea10ca45a91b31de518d99c4b25a663d6f3276d5d3be90df336c9", kill_on_drop: false }` [INFO] [stdout] febe06d8352ea10ca45a91b31de518d99c4b25a663d6f3276d5d3be90df336c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ad00cc9795842d10f68c081aa61757ccb9d01fea4d4593bb24bf844a4e37960 [INFO] running `Command { std: "docker" "start" "-a" "4ad00cc9795842d10f68c081aa61757ccb9d01fea4d4593bb24bf844a4e37960", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde_core v1.0.223 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling quick-xml v0.38.3 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling dirs-2 v3.0.1 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.223 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling typed-builder-macro v0.22.0 [INFO] [stderr] Compiling derive-getters v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling typed-builder v0.22.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rustls-webpki v0.103.5 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling unity-version v0.3.1 [INFO] [stderr] Compiling ssri v9.2.0 [INFO] [stderr] Compiling unity-types v0.1.2 [INFO] [stderr] Compiling plist v1.7.4 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling uvm_live_platform v0.7.0 [INFO] [stderr] Compiling unity-hub v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/unity/hub/editors.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] 24 + .ok_or_else(|| UnityHubError::ConfigDirectoryNotFound )?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/unity/hub/editors.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] 90 + paths::config_path().ok_or_else(|| UnityHubError::ConfigDirectoryNotFound )?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppInfo` is never constructed [INFO] [stdout] --> src/unity/installation.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AppInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.05s [INFO] running `Command { std: "docker" "inspect" "4ad00cc9795842d10f68c081aa61757ccb9d01fea4d4593bb24bf844a4e37960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ad00cc9795842d10f68c081aa61757ccb9d01fea4d4593bb24bf844a4e37960", kill_on_drop: false }` [INFO] [stdout] 4ad00cc9795842d10f68c081aa61757ccb9d01fea4d4593bb24bf844a4e37960 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8cef05361c0e790b5a229d5cc34f90400627c6d4bce061491dc266917247816 [INFO] running `Command { std: "docker" "start" "-a" "c8cef05361c0e790b5a229d5cc34f90400627c6d4bce061491dc266917247816", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/unity/hub/editors.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] 24 + .ok_or_else(|| UnityHubError::ConfigDirectoryNotFound )?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/unity/hub/editors.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] 90 + paths::config_path().ok_or_else(|| UnityHubError::ConfigDirectoryNotFound )?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unity-hub v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `AppInfo` is never constructed [INFO] [stdout] --> src/unity/installation.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AppInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/unity/hub/editors.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] 24 + .ok_or_else(|| UnityHubError::ConfigDirectoryNotFound )?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/unity/hub/editors.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] 90 + paths::config_path().ok_or_else(|| UnityHubError::ConfigDirectoryNotFound )?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_dir_all` [INFO] [stdout] --> src/unity/installation.rs:355:19 [INFO] [stdout] | [INFO] [stdout] 355 | use std::fs::{create_dir_all, File}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Installation` and `UnityInstallation` [INFO] [stdout] --> src/unity/installation.rs:357:24 [INFO] [stdout] | [INFO] [stdout] 357 | use crate::unity::{Installation, UnityInstallation}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::unity::hub::module::Module` [INFO] [stdout] --> src/unity/installation.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | use crate::unity::hub::module::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `prepare_unity_installation` [INFO] [stdout] --> src/unity/installation.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 360 | macro_rules! prepare_unity_installation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unity_installation` is never used [INFO] [stdout] --> src/unity/installation.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 372 | fn create_unity_installation(base_dir: &PathBuf, version: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "c8cef05361c0e790b5a229d5cc34f90400627c6d4bce061491dc266917247816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8cef05361c0e790b5a229d5cc34f90400627c6d4bce061491dc266917247816", kill_on_drop: false }` [INFO] [stdout] c8cef05361c0e790b5a229d5cc34f90400627c6d4bce061491dc266917247816 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 11ca86c7ffeed2aac4b16d5c5fba98c9c76d3cd163f8946f0b670ab01bf090f4 [INFO] running `Command { std: "docker" "start" "-a" "11ca86c7ffeed2aac4b16d5c5fba98c9c76d3cd163f8946f0b670ab01bf090f4", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/unity/hub/editors.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 24 - .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] 24 + .ok_or_else(|| UnityHubError::ConfigDirectoryNotFound )?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/unity/hub/editors.rs:90:48 [INFO] [stderr] | [INFO] [stderr] 90 | paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 90 - paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] 90 + paths::config_path().ok_or_else(|| UnityHubError::ConfigDirectoryNotFound )?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `AppInfo` is never constructed [INFO] [stderr] --> src/unity/installation.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct AppInfo { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `create_dir_all` [INFO] [stderr] --> src/unity/installation.rs:355:19 [INFO] [stderr] | [INFO] [stderr] 355 | use std::fs::{create_dir_all, File}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Installation` and `UnityInstallation` [INFO] [stderr] --> src/unity/installation.rs:357:24 [INFO] [stderr] | [INFO] [stderr] 357 | use crate::unity::{Installation, UnityInstallation}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::unity::hub::module::Module` [INFO] [stderr] --> src/unity/installation.rs:358:9 [INFO] [stderr] | [INFO] [stderr] 358 | use crate::unity::hub::module::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `prepare_unity_installation` [INFO] [stderr] --> src/unity/installation.rs:360:18 [INFO] [stderr] | [INFO] [stderr] 360 | macro_rules! prepare_unity_installation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `create_unity_installation` is never used [INFO] [stderr] --> src/unity/installation.rs:372:8 [INFO] [stderr] | [INFO] [stderr] 372 | fn create_unity_installation(base_dir: &PathBuf, version: &str) -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `unity-hub` (lib) generated 3 warnings (run `cargo fix --lib -p unity-hub` to apply 2 suggestions) [INFO] [stderr] warning: `unity-hub` (lib test) generated 7 warnings (2 duplicates) (run `cargo fix --lib -p unity-hub --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unity_hub-7975f5cfc4143a87) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test unity::hub::editors::tests::parse_editors ... ok [INFO] [stdout] test unity::hub::paths::tests::test_dirs ... ok [INFO] [stdout] test unity::hub::editors::tests::write_editors ... ok [INFO] [stdout] test unity::tests::list_installations_returns_empty_iterator_when_dir_does_not_exist ... ok [INFO] [stdout] test unity::tests::installations_can_be_converted_to_versions ... ok [INFO] [stdout] test unity::tests::list_installations_in_directory_filters_unity_installations ... ok [INFO] [stdout] test unity::tests::list_installations_in_empty_directory_returns_no_error ... ok [INFO] [stdout] test unity::tests::versions_can_be_created_from_installations ... ok [INFO] [stdout] test unity::tests::doesnt_crash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests unity_hub [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/unity/hub/editors.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 24 - .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] 24 + .ok_or_else(|| UnityHubError::ConfigDirectoryNotFound )?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/unity/hub/editors.rs:90:48 [INFO] [stderr] | [INFO] [stderr] 90 | paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 90 - paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] 90 + paths::config_path().ok_or_else(|| UnityHubError::ConfigDirectoryNotFound )?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "11ca86c7ffeed2aac4b16d5c5fba98c9c76d3cd163f8946f0b670ab01bf090f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ca86c7ffeed2aac4b16d5c5fba98c9c76d3cd163f8946f0b670ab01bf090f4", kill_on_drop: false }` [INFO] [stdout] 11ca86c7ffeed2aac4b16d5c5fba98c9c76d3cd163f8946f0b670ab01bf090f4