[INFO] cloning repository https://github.com/pleme-io/yarnberry2nix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pleme-io/yarnberry2nix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpleme-io%2Fyarnberry2nix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpleme-io%2Fyarnberry2nix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00518abcd2dd93b69b92a3321e07b4189770aa9a [INFO] testing pleme-io/yarnberry2nix against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpleme-io%2Fyarnberry2nix" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pleme-io/yarnberry2nix on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pleme-io/yarnberry2nix [INFO] finished tweaking git repo https://github.com/pleme-io/yarnberry2nix [INFO] tweaked toml for git repo https://github.com/pleme-io/yarnberry2nix written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pleme-io/yarnberry2nix 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded humansize v2.1.3 [INFO] [stderr] Downloaded yarn-lock-parser v0.7.0 [INFO] [stderr] Downloaded security-framework-sys v2.12.1 [INFO] [stderr] Downloaded pest_derive v2.7.15 [INFO] [stderr] Downloaded ucd-trie v0.1.7 [INFO] [stderr] Downloaded pest_meta v2.7.15 [INFO] [stderr] Downloaded cc v1.2.4 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded pest v2.7.15 [INFO] [stderr] Downloaded unic-ucd-segment v0.9.0 [INFO] [stderr] Downloaded unic-segment v0.9.0 [INFO] [stderr] Downloaded pest_generator v2.7.15 [INFO] [stderr] Downloaded bstr v1.11.1 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded libc v0.2.168 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 555acc6e29ce2d843f5d32370cfd65fefbd5ce26ee3a2d68e40d07285e0e9b8f [INFO] running `Command { std: "docker" "start" "-a" "555acc6e29ce2d843f5d32370cfd65fefbd5ce26ee3a2d68e40d07285e0e9b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "555acc6e29ce2d843f5d32370cfd65fefbd5ce26ee3a2d68e40d07285e0e9b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555acc6e29ce2d843f5d32370cfd65fefbd5ce26ee3a2d68e40d07285e0e9b8f", kill_on_drop: false }` [INFO] [stdout] 555acc6e29ce2d843f5d32370cfd65fefbd5ce26ee3a2d68e40d07285e0e9b8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb23b7cb48b6e6ebfea1c6c8d5908014ff139409817004eca59e273f47b2af9f [INFO] running `Command { std: "docker" "start" "-a" "fb23b7cb48b6e6ebfea1c6c8d5908014ff139409817004eca59e273f47b2af9f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling bstr v1.11.1 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling indicatif v0.17.9 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling yarn-lock-parser v0.7.0 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 hyper v1.5.1 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [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.12.9 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling yarnberry2nix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Repository` [INFO] [stdout] --> src/yarnberry/package_json/mod.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub use structs::{PackageJson, Repository}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Config` is more private than the item `config` [INFO] [stdout] --> src/config/mod.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn config() -> &'static AppConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `config` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Config` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AppConfig` is more private than the item `config` [INFO] [stdout] --> src/config/mod.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn config() -> &'static AppConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `config` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AppConfig` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct AppConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AppConfiguration` is never used [INFO] [stdout] --> src/config/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type AppConfiguration = Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_config` is never used [INFO] [stdout] --> src/config/mod.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn default_config() -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONFIG_PATHS` is never used [INFO] [stdout] --> src/config/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | static CONFIG_PATHS: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONFIG` is never used [INFO] [stdout] --> src/config/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | static CONFIG: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `merge_values` is never used [INFO] [stdout] --> src/config/mod.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 93 | / impl Config [INFO] [stdout] 94 | | where [INFO] [stdout] 95 | | T: for<'de> Deserialize<'de> + Serialize, [INFO] [stdout] | |_____________________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn merge_values(base: &mut serde_yaml::Value, override_val: serde_yaml::Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config` is never used [INFO] [stdout] --> src/config/mod.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn config() -> &'static AppConfiguration { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_file` is never used [INFO] [stdout] --> src/yarnberry/package_json/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/yarnberry/package_json/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PackageJson { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 20 | /// Public wrapper for `from_file` in `interfaces.rs` [INFO] [stdout] 21 | pub fn from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_file` is never used [INFO] [stdout] --> src/yarnberry/package_json/interfaces.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_yarn_lock` is never used [INFO] [stdout] --> src/yarnberry/yarn_lock/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_yarn_lock(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `YarnBerryEnvironment` is never constructed [INFO] [stdout] --> src/yarnberry/structs.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct YarnBerryEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YarnBerryEnvironment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_project_root` is never used [INFO] [stdout] --> src/yarnberry/structs.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl YarnBerryEnvironment { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn from_project_root(project_root: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.02s [INFO] running `Command { std: "docker" "inspect" "fb23b7cb48b6e6ebfea1c6c8d5908014ff139409817004eca59e273f47b2af9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb23b7cb48b6e6ebfea1c6c8d5908014ff139409817004eca59e273f47b2af9f", kill_on_drop: false }` [INFO] [stdout] fb23b7cb48b6e6ebfea1c6c8d5908014ff139409817004eca59e273f47b2af9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d0a7347de790fef74f5552eb5816ca41c2bcab9208eb96cbfe52686ec5ef46f [INFO] running `Command { std: "docker" "start" "-a" "6d0a7347de790fef74f5552eb5816ca41c2bcab9208eb96cbfe52686ec5ef46f", kill_on_drop: false }` [INFO] [stderr] Compiling yarnberry2nix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Repository` [INFO] [stdout] --> src/yarnberry/package_json/mod.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub use structs::{PackageJson, Repository}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::yarnberry::structs::YarnBerryEnvironment` [INFO] [stdout] --> src/yarnberry/tests.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::yarnberry::structs::YarnBerryEnvironment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Config` is more private than the item `config` [INFO] [stdout] --> src/config/mod.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn config() -> &'static AppConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `config` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Config` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AppConfig` is more private than the item `config` [INFO] [stdout] --> src/config/mod.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn config() -> &'static AppConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `config` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AppConfig` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct AppConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AppConfiguration` is never used [INFO] [stdout] --> src/config/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type AppConfiguration = Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_config` is never used [INFO] [stdout] --> src/config/mod.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn default_config() -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONFIG_PATHS` is never used [INFO] [stdout] --> src/config/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | static CONFIG_PATHS: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONFIG` is never used [INFO] [stdout] --> src/config/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | static CONFIG: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `merge_values` is never used [INFO] [stdout] --> src/config/mod.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 93 | / impl Config [INFO] [stdout] 94 | | where [INFO] [stdout] 95 | | T: for<'de> Deserialize<'de> + Serialize, [INFO] [stdout] | |_____________________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn merge_values(base: &mut serde_yaml::Value, override_val: serde_yaml::Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config` is never used [INFO] [stdout] --> src/config/mod.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn config() -> &'static AppConfiguration { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_file` is never used [INFO] [stdout] --> src/yarnberry/package_json/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/yarnberry/package_json/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PackageJson { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 20 | /// Public wrapper for `from_file` in `interfaces.rs` [INFO] [stdout] 21 | pub fn from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_file` is never used [INFO] [stdout] --> src/yarnberry/package_json/interfaces.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_yarn_lock` is never used [INFO] [stdout] --> src/yarnberry/yarn_lock/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_yarn_lock(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_temp_project` is never used [INFO] [stdout] --> src/yarnberry/tests.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn setup_temp_project() -> TempDir { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_package_json` is never used [INFO] [stdout] --> src/yarnberry/tests.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_package_json(project_root: &Path, content: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `YarnBerryEnvironment` is never constructed [INFO] [stdout] --> src/yarnberry/structs.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct YarnBerryEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YarnBerryEnvironment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_project_root` is never used [INFO] [stdout] --> src/yarnberry/structs.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl YarnBerryEnvironment { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn from_project_root(project_root: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.22s [INFO] running `Command { std: "docker" "inspect" "6d0a7347de790fef74f5552eb5816ca41c2bcab9208eb96cbfe52686ec5ef46f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d0a7347de790fef74f5552eb5816ca41c2bcab9208eb96cbfe52686ec5ef46f", kill_on_drop: false }` [INFO] [stdout] 6d0a7347de790fef74f5552eb5816ca41c2bcab9208eb96cbfe52686ec5ef46f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ffca8c19b6adfdabc8c9e2a62eedf17b0572741dda0a9dd229558a86cc57cc03 [INFO] running `Command { std: "docker" "start" "-a" "ffca8c19b6adfdabc8c9e2a62eedf17b0572741dda0a9dd229558a86cc57cc03", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Repository` [INFO] [stderr] --> src/yarnberry/package_json/mod.rs:9:32 [INFO] [stderr] | [INFO] [stderr] 9 | pub use structs::{PackageJson, Repository}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::yarnberry::structs::YarnBerryEnvironment` [INFO] [stderr] --> src/yarnberry/tests.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::yarnberry::structs::YarnBerryEnvironment; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `Config` is more private than the item `config` [INFO] [stderr] --> src/config/mod.rs:113:1 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn config() -> &'static AppConfiguration { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `config` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `Config` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/config/mod.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | struct Config { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `AppConfig` is more private than the item `config` [INFO] [stderr] --> src/config/mod.rs:113:1 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn config() -> &'static AppConfiguration { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `config` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `AppConfig` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/config/mod.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | struct AppConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `AppConfiguration` is never used [INFO] [stderr] --> src/config/mod.rs:15:6 [INFO] [stderr] | [INFO] [stderr] 15 | type AppConfiguration = Config; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `default_config` is never used [INFO] [stderr] --> src/config/mod.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | fn default_config() -> Config { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `CONFIG_PATHS` is never used [INFO] [stderr] --> src/config/mod.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | static CONFIG_PATHS: Lazy> = Lazy::new(|| { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `CONFIG` is never used [INFO] [stderr] --> src/config/mod.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | static CONFIG: Lazy> = Lazy::new(|| { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `merge_values` is never used [INFO] [stderr] --> src/config/mod.rs:98:8 [INFO] [stderr] | [INFO] [stderr] 93 | / impl Config [INFO] [stderr] 94 | | where [INFO] [stderr] 95 | | T: for<'de> Deserialize<'de> + Serialize, [INFO] [stderr] | |_____________________________________________- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 98 | fn merge_values(base: &mut serde_yaml::Value, override_val: serde_yaml::Value) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `config` is never used [INFO] [stderr] --> src/config/mod.rs:113:8 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn config() -> &'static AppConfiguration { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `from_file` is never used [INFO] [stderr] --> src/yarnberry/package_json/mod.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | fn from_file(path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_file` is never used [INFO] [stderr] --> src/yarnberry/package_json/mod.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl PackageJson { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 20 | /// Public wrapper for `from_file` in `interfaces.rs` [INFO] [stderr] 21 | pub fn from_file(path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `from_file` is never used [INFO] [stderr] --> src/yarnberry/package_json/interfaces.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn from_file(path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_yarn_lock` is never used [INFO] [stderr] --> src/yarnberry/yarn_lock/mod.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn parse_yarn_lock(path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `setup_temp_project` is never used [INFO] [stderr] --> src/yarnberry/tests.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | fn setup_temp_project() -> TempDir { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_package_json` is never used [INFO] [stderr] --> src/yarnberry/tests.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | fn write_package_json(project_root: &Path, content: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `YarnBerryEnvironment` is never constructed [INFO] [stderr] --> src/yarnberry/structs.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct YarnBerryEnvironment { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `YarnBerryEnvironment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `from_project_root` is never used [INFO] [stderr] --> src/yarnberry/structs.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl YarnBerryEnvironment { [INFO] [stderr] | ------------------------- associated function in this implementation [INFO] [stderr] 14 | pub fn from_project_root(project_root: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `yarnberry2nix` (bin "yarnberry2nix" test) generated 18 warnings (run `cargo fix --bin "yarnberry2nix" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/yarnberry2nix-60b32b0a210686c2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test yarnberry::package_json::tests::tests::test_package_json_parsing_specific ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ffca8c19b6adfdabc8c9e2a62eedf17b0572741dda0a9dd229558a86cc57cc03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffca8c19b6adfdabc8c9e2a62eedf17b0572741dda0a9dd229558a86cc57cc03", kill_on_drop: false }` [INFO] [stdout] ffca8c19b6adfdabc8c9e2a62eedf17b0572741dda0a9dd229558a86cc57cc03