[INFO] fetching crate unity-hub 0.4.0... [INFO] testing unity-hub-0.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate unity-hub 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate unity-hub 0.4.0 [INFO] finished tweaking crates.io crate unity-hub 0.4.0 [INFO] tweaked toml for crates.io crate unity-hub 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate unity-hub 0.4.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate unity-hub 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c907740ca5d39f4ab4d7f57e5bbd2fb445eca6e6f18745c3b39d57d749a95158 [INFO] running `Command { std: "docker" "start" "-a" "c907740ca5d39f4ab4d7f57e5bbd2fb445eca6e6f18745c3b39d57d749a95158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c907740ca5d39f4ab4d7f57e5bbd2fb445eca6e6f18745c3b39d57d749a95158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c907740ca5d39f4ab4d7f57e5bbd2fb445eca6e6f18745c3b39d57d749a95158", kill_on_drop: false }` [INFO] [stdout] c907740ca5d39f4ab4d7f57e5bbd2fb445eca6e6f18745c3b39d57d749a95158 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fac87196a4dc03edb018ed694e13ec70e77694027feefc4aef222583d65402ff [INFO] running `Command { std: "docker" "start" "-a" "fac87196a4dc03edb018ed694e13ec70e77694027feefc4aef222583d65402ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling quick-xml v0.32.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling indoc v2.0.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling dirs-2 v3.0.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling proptest v1.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling typed-builder-macro v0.15.2 [INFO] [stderr] Compiling derive-getters v0.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling typed-builder v0.15.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling unity-version v0.1.0 [INFO] [stderr] Compiling ssri v9.2.0 [INFO] [stderr] Compiling unity-types v0.1.0 [INFO] [stderr] Compiling plist v1.7.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling uvm_live_platform v0.4.0 [INFO] [stderr] Compiling unity-hub v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::unity` [INFO] [stdout] --> src/unity/hub/editors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::unity; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | .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] 25 - .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] 25 + .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:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] 91 + paths::config_path().ok_or_else(|| UnityHubError::ConfigDirectoryNotFound)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/unity/hub/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/unity/hub/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/unity/installation.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | use log::{debug, error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EditorInstallationMarker` is never used [INFO] [stdout] --> src/unity/hub/editors.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | trait EditorInstallationMarker {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.14s [INFO] running `Command { std: "docker" "inspect" "fac87196a4dc03edb018ed694e13ec70e77694027feefc4aef222583d65402ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac87196a4dc03edb018ed694e13ec70e77694027feefc4aef222583d65402ff", kill_on_drop: false }` [INFO] [stdout] fac87196a4dc03edb018ed694e13ec70e77694027feefc4aef222583d65402ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98595880ebfc1aa6926b1d5da0cb507080be8485de6d15bf187461adc6fb5897 [INFO] running `Command { std: "docker" "start" "-a" "98595880ebfc1aa6926b1d5da0cb507080be8485de6d15bf187461adc6fb5897", kill_on_drop: false }` [INFO] [stderr] Compiling unity-hub v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::unity` [INFO] [stdout] --> src/unity/hub/editors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::unity; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | .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] 25 - .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] 25 + .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:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] 91 + paths::config_path().ok_or_else(|| UnityHubError::ConfigDirectoryNotFound)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/unity/hub/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/unity/hub/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/unity/installation.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | use log::{debug, error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EditorInstallationMarker` is never used [INFO] [stdout] --> src/unity/hub/editors.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | trait EditorInstallationMarker {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [INFO] [stdout] warning: unused import: `crate::unity` [INFO] [stdout] --> src/unity/hub/editors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::unity; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | .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] 25 - .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] 25 + .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:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stdout] 91 + paths::config_path().ok_or_else(|| UnityHubError::ConfigDirectoryNotFound)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/unity/hub/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/unity/hub/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/unity/installation.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | use log::{debug, error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_dir_all` [INFO] [stdout] --> src/unity/installation.rs:341:19 [INFO] [stdout] | [INFO] [stdout] 341 | use std::fs::{create_dir_all, File}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Installation` and `UnityInstallation` [INFO] [stdout] --> src/unity/installation.rs:343:24 [INFO] [stdout] | [INFO] [stdout] 343 | 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:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | 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:346:18 [INFO] [stdout] | [INFO] [stdout] 346 | 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: unexpected `cfg` condition name: `targed_os` [INFO] [stdout] --> src/unity/mod.rs:291:15 [INFO] [stdout] | [INFO] [stdout] 291 | #[cfg(targed_os="macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(targed_os, values("macos"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(targed_os, values(\"macos\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 291 - #[cfg(targed_os="macos")] [INFO] [stdout] 291 + #[cfg(target_os="macos")] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EditorInstallationMarker` is never used [INFO] [stdout] --> src/unity/hub/editors.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | trait EditorInstallationMarker {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (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:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | fn create_unity_installation(base_dir: &PathBuf, version: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.71s [INFO] running `Command { std: "docker" "inspect" "98595880ebfc1aa6926b1d5da0cb507080be8485de6d15bf187461adc6fb5897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98595880ebfc1aa6926b1d5da0cb507080be8485de6d15bf187461adc6fb5897", kill_on_drop: false }` [INFO] [stdout] 98595880ebfc1aa6926b1d5da0cb507080be8485de6d15bf187461adc6fb5897 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c27cf63e36f68b609d2215506f0ac037bda124ad5c04eb7547bb90a370565014 [INFO] running `Command { std: "docker" "start" "-a" "c27cf63e36f68b609d2215506f0ac037bda124ad5c04eb7547bb90a370565014", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::unity` [INFO] [stderr] --> src/unity/hub/editors.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::unity; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/unity/hub/editors.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | .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] 25 - .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] 25 + .ok_or_else(|| UnityHubError::ConfigDirectoryNotFound)?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/unity/hub/editors.rs:91:48 [INFO] [stderr] | [INFO] [stderr] 91 | paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 91 - paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] 91 + paths::config_path().ok_or_else(|| UnityHubError::ConfigDirectoryNotFound)?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/unity/hub/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `thiserror::Error` [INFO] [stderr] --> src/unity/hub/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use thiserror::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `debug` [INFO] [stderr] --> src/unity/installation.rs:214:11 [INFO] [stderr] | [INFO] [stderr] 214 | use log::{debug, error, trace}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `EditorInstallationMarker` is never used [INFO] [stderr] --> src/unity/hub/editors.rs:129:7 [INFO] [stderr] | [INFO] [stderr] 129 | trait EditorInstallationMarker {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] warning: unused import: `create_dir_all` [INFO] [stderr] --> src/unity/installation.rs:341:19 [INFO] [stderr] | [INFO] [stderr] 341 | use std::fs::{create_dir_all, File}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Installation` and `UnityInstallation` [INFO] [stderr] --> src/unity/installation.rs:343:24 [INFO] [stderr] | [INFO] [stderr] 343 | 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:344:9 [INFO] [stderr] | [INFO] [stderr] 344 | 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:346:18 [INFO] [stderr] | [INFO] [stderr] 346 | 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: unexpected `cfg` condition name: `targed_os` [INFO] [stderr] --> src/unity/mod.rs:291:15 [INFO] [stderr] | [INFO] [stderr] 291 | #[cfg(targed_os="macos")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(targed_os, values("macos"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(targed_os, values(\"macos\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] help: there is a config with a similar name and value [INFO] [stderr] | [INFO] [stderr] 291 - #[cfg(targed_os="macos")] [INFO] [stderr] 291 + #[cfg(target_os="macos")] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function `create_unity_installation` is never used [INFO] [stderr] --> src/unity/installation.rs:358:8 [INFO] [stderr] | [INFO] [stderr] 358 | fn create_unity_installation(base_dir: &PathBuf, version: &str) -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `unity-hub` (lib) generated 8 warnings (run `cargo fix --lib -p unity-hub` to apply 6 suggestions) [INFO] [stderr] warning: `unity-hub` (lib test) generated 13 warnings (7 duplicates) (run `cargo fix --lib -p unity-hub --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unity_hub-7193e5eac4fc5011) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test unity::hub::editors::tests::parse_editors ... ok [INFO] [stdout] test unity::hub::editors::tests::write_editors ... ok [INFO] [stdout] test unity::hub::paths::tests::test_dirs ... ok [INFO] [stdout] test unity::tests::list_installations_in_empty_directory_returns_no_error ... ok [INFO] [stdout] test unity::tests::installations_can_be_converted_to_versions ... ok [INFO] [stdout] test unity::tests::versions_can_be_created_from_installations ... ok [INFO] [stdout] test unity::tests::list_installations_in_directory_filters_unity_installations ... ok [INFO] [stdout] test unity::tests::doesnt_crash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] Doc-tests unity_hub [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/unity/hub/editors.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | .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] 25 - .ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] 25 + .ok_or_else(|| UnityHubError::ConfigDirectoryNotFound)?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/unity/hub/editors.rs:91:48 [INFO] [stderr] | [INFO] [stderr] 91 | paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 91 - paths::config_path().ok_or_else(|| (UnityHubError::ConfigDirectoryNotFound))?; [INFO] [stderr] 91 + 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" "c27cf63e36f68b609d2215506f0ac037bda124ad5c04eb7547bb90a370565014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27cf63e36f68b609d2215506f0ac037bda124ad5c04eb7547bb90a370565014", kill_on_drop: false }` [INFO] [stdout] c27cf63e36f68b609d2215506f0ac037bda124ad5c04eb7547bb90a370565014