[INFO] cloning repository https://github.com/OmgRod/lover [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OmgRod/lover" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmgRod%2Flover", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmgRod%2Flover'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51bfc285967d2b173e25f5c1089ca7a4f2d36d2d [INFO] testing OmgRod/lover against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmgRod%2Flover" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/OmgRod/lover [INFO] finished tweaking git repo https://github.com/OmgRod/lover [INFO] tweaked toml for git repo https://github.com/OmgRod/lover written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OmgRod/lover on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/OmgRod/lover 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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lockfree-object-pool v0.1.6 [INFO] [stderr] Downloaded strip-ansi-escapes v0.2.1 [INFO] [stderr] Downloaded sha256 v1.6.0 [INFO] [stderr] Downloaded termsize v0.1.9 [INFO] [stderr] Downloaded libz-rs-sys v0.5.0 [INFO] [stderr] Downloaded vte v0.14.1 [INFO] [stderr] Downloaded errno v0.3.11 [INFO] [stderr] Downloaded solana-nohash-hasher v0.2.1 [INFO] [stderr] Downloaded deku_derive v0.18.1 [INFO] [stderr] Downloaded no_std_io2 v0.8.1 [INFO] [stderr] Downloaded lz4_flex v0.11.3 [INFO] [stderr] Downloaded deku v0.18.1 [INFO] [stderr] Downloaded openssl-sys v0.9.107 [INFO] [stderr] Downloaded zlib-rs v0.5.0 [INFO] [stderr] Downloaded zopfli v0.8.1 [INFO] [stderr] Downloaded zip v2.6.1 [INFO] [stderr] Downloaded backhand v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fb23b2fb420f0e5b2c29e72c08181100739603a155b70c19b93677ae31cdbc4 [INFO] running `Command { std: "docker" "start" "-a" "7fb23b2fb420f0e5b2c29e72c08181100739603a155b70c19b93677ae31cdbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fb23b2fb420f0e5b2c29e72c08181100739603a155b70c19b93677ae31cdbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fb23b2fb420f0e5b2c29e72c08181100739603a155b70c19b93677ae31cdbc4", kill_on_drop: false }` [INFO] [stdout] 7fb23b2fb420f0e5b2c29e72c08181100739603a155b70c19b93677ae31cdbc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45d88d1792abb1bb89995a58478539bf0d95f830dfa7e6bb4e7e392276ef3129 [INFO] running `Command { std: "docker" "start" "-a" "45d88d1792abb1bb89995a58478539bf0d95f830dfa7e6bb4e7e392276ef3129", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling miniz_oxide v0.8.7 [INFO] [stderr] Compiling zlib-rs v0.5.0 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling no_std_io2 v0.8.1 [INFO] [stderr] Compiling zip v2.6.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling vte v0.14.1 [INFO] [stderr] Compiling solana-nohash-hasher v0.2.1 [INFO] [stderr] Compiling lover v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling termsize v0.1.9 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling libz-rs-sys v0.5.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [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.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling deku_derive v0.18.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sha256 v1.6.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling deku v0.18.1 [INFO] [stderr] Compiling backhand v0.21.0 [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 serde v1.0.219 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling image v0.25.6 [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.15 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/files.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::{File, OpenOptions}, io::Read, path::{Path, PathBuf}}; [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 import: `Permissions` [INFO] [stdout] --> src/targets.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, Permissions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_meta`, `get_meta_path`, and `get_cached_meta` are never used [INFO] [stdout] --> src/project_config.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ProjectConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_meta(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_meta_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_cached_meta(&self) -> Option { [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 `compile` is never used [INFO] [stdout] --> src/actions.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn compile(arch: Arch, os: OS) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_comment_locations` is never used [INFO] [stdout] --> src/actions.rs:685:8 [INFO] [stdout] | [INFO] [stdout] 685 | pub fn get_comment_locations(code: impl Into) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OS` is never used [INFO] [stdout] --> src/targets.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum OS { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/targets.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl OS { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 27 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_short_string` is never used [INFO] [stdout] --> src/targets.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Arch { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn to_short_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BundlerConfig` is never constructed [INFO] [stdout] --> src/lovebrew_bundler.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BundlerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metadata` is never constructed [INFO] [stdout] --> src/lovebrew_bundler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Build` is never constructed [INFO] [stdout] --> src/lovebrew_bundler.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Build { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProjectMeta` is never constructed [INFO] [stdout] --> src/meta.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ProjectMeta { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse`, `new`, `get_changed_files`, and `try_save` are never used [INFO] [stdout] --> src/meta.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ProjectMeta { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn parse(string: impl Into) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new(source: impl Into) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_changed_files(&self, other: &Self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn try_save(&self, path: impl Into) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileEntry` is never constructed [INFO] [stdout] --> src/meta.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct FileEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `path_eq`, and `is_changed` are never used [INFO] [stdout] --> src/meta.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl FileEntry { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 90 | pub fn new(path: impl Into, root: impl Into) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn path_eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn is_changed(&self, recent: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/targets.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_all_deps(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_all_deps(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.58s [INFO] running `Command { std: "docker" "inspect" "45d88d1792abb1bb89995a58478539bf0d95f830dfa7e6bb4e7e392276ef3129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45d88d1792abb1bb89995a58478539bf0d95f830dfa7e6bb4e7e392276ef3129", kill_on_drop: false }` [INFO] [stdout] 45d88d1792abb1bb89995a58478539bf0d95f830dfa7e6bb4e7e392276ef3129 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69931ea1cab33b71286b5ee6058bdc4d1a4b8d77bdb0c671db26f55bac8cdb91 [INFO] running `Command { std: "docker" "start" "-a" "69931ea1cab33b71286b5ee6058bdc4d1a4b8d77bdb0c671db26f55bac8cdb91", kill_on_drop: false }` [INFO] [stderr] Compiling lover v2.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/files.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::{File, OpenOptions}, io::Read, path::{Path, PathBuf}}; [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 import: `Permissions` [INFO] [stdout] --> src/targets.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, Permissions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_meta`, `get_meta_path`, and `get_cached_meta` are never used [INFO] [stdout] --> src/project_config.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ProjectConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_meta(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_meta_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_cached_meta(&self) -> Option { [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 `compile` is never used [INFO] [stdout] --> src/actions.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn compile(arch: Arch, os: OS) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OS` is never used [INFO] [stdout] --> src/targets.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum OS { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/targets.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl OS { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 27 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_short_string` is never used [INFO] [stdout] --> src/targets.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Arch { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn to_short_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BundlerConfig` is never constructed [INFO] [stdout] --> src/lovebrew_bundler.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BundlerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metadata` is never constructed [INFO] [stdout] --> src/lovebrew_bundler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Build` is never constructed [INFO] [stdout] --> src/lovebrew_bundler.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Build { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProjectMeta` is never constructed [INFO] [stdout] --> src/meta.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ProjectMeta { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse`, `new`, `get_changed_files`, and `try_save` are never used [INFO] [stdout] --> src/meta.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ProjectMeta { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn parse(string: impl Into) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new(source: impl Into) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_changed_files(&self, other: &Self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn try_save(&self, path: impl Into) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileEntry` is never constructed [INFO] [stdout] --> src/meta.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct FileEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `path_eq`, and `is_changed` are never used [INFO] [stdout] --> src/meta.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl FileEntry { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 90 | pub fn new(path: impl Into, root: impl Into) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn path_eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn is_changed(&self, recent: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/targets.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_all_deps(&self) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_all_deps(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.03s [INFO] running `Command { std: "docker" "inspect" "69931ea1cab33b71286b5ee6058bdc4d1a4b8d77bdb0c671db26f55bac8cdb91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69931ea1cab33b71286b5ee6058bdc4d1a4b8d77bdb0c671db26f55bac8cdb91", kill_on_drop: false }` [INFO] [stdout] 69931ea1cab33b71286b5ee6058bdc4d1a4b8d77bdb0c671db26f55bac8cdb91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6f11318d5a6dc1c2fa9537d1048c4c422ad85f81d2255bc3e250b08f9c7ee37d [INFO] running `Command { std: "docker" "start" "-a" "6f11318d5a6dc1c2fa9537d1048c4c422ad85f81d2255bc3e250b08f9c7ee37d", kill_on_drop: false }` [INFO] [stderr] Compiling lover v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/files.rs:1:53 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{fs::{File, OpenOptions}, io::Read, path::{Path, PathBuf}}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Permissions` [INFO] [stderr] --> src/targets.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fs::{self, Permissions}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_meta`, `get_meta_path`, and `get_cached_meta` are never used [INFO] [stderr] --> src/project_config.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl ProjectConfig { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn get_meta(&self) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn get_meta_path(&self) -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn get_cached_meta(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `compile` is never used [INFO] [stderr] --> src/actions.rs:485:8 [INFO] [stderr] | [INFO] [stderr] 485 | pub fn compile(arch: Arch, os: OS) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `OS` is never used [INFO] [stderr] --> src/targets.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | pub enum OS { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: method `to_string` is never used [INFO] [stderr] --> src/targets.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl OS { [INFO] [stderr] | ------- method in this implementation [INFO] [stderr] 27 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `to_short_string` is never used [INFO] [stderr] --> src/targets.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 35 | impl Arch { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn to_short_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BundlerConfig` is never constructed [INFO] [stderr] --> src/lovebrew_bundler.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct BundlerConfig { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Metadata` is never constructed [INFO] [stderr] --> src/lovebrew_bundler.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Metadata { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Build` is never constructed [INFO] [stderr] --> src/lovebrew_bundler.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Build { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ProjectMeta` is never constructed [INFO] [stderr] --> src/meta.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct ProjectMeta { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `parse`, `new`, `get_changed_files`, and `try_save` are never used [INFO] [stderr] --> src/meta.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl ProjectMeta { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 13 | pub fn parse(string: impl Into) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | pub fn new(source: impl Into) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn get_changed_files(&self, other: &Self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | pub fn try_save(&self, path: impl Into) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FileEntry` is never constructed [INFO] [stderr] --> src/meta.rs:84:12 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct FileEntry { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `path_eq`, and `is_changed` are never used [INFO] [stderr] --> src/meta.rs:90:12 [INFO] [stderr] | [INFO] [stderr] 89 | impl FileEntry { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 90 | pub fn new(path: impl Into, root: impl Into) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn path_eq(&self, other: &Self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 108 | pub fn is_changed(&self, recent: &Self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/targets.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn get_all_deps(&self) -> Vec { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 83 | pub fn get_all_deps(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `lover` (bin "lover" test) generated 15 warnings (run `cargo fix --bin "lover" -p lover --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lover-083c6f8ec82994b2) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test actions::tests::test_comment_finding ... ok [INFO] [stdout] test project_config::tests::parse_valid ... ok [INFO] [stdout] test targets::tests::check_target_deps ... ok [INFO] [stdout] test targets::tests::check_if_pre_targets_exist ... ok [INFO] [stdout] test targets::tests::check_if_targets_exist ... ok [INFO] [stdout] test deps::tests::deserialize_releases ... ok [INFO] [stdout] test deps::tests::check_patterns ... ok [INFO] [stdout] test project_config::tests::parse_empty - should panic ... ok [INFO] [stdout] test project_config::tests::parse_syntax_error - should panic ... ok [INFO] [stdout] test project_config::tests::parse_missing_name - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6f11318d5a6dc1c2fa9537d1048c4c422ad85f81d2255bc3e250b08f9c7ee37d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f11318d5a6dc1c2fa9537d1048c4c422ad85f81d2255bc3e250b08f9c7ee37d", kill_on_drop: false }` [INFO] [stdout] 6f11318d5a6dc1c2fa9537d1048c4c422ad85f81d2255bc3e250b08f9c7ee37d