[INFO] fetching crate rpmrepo_metadata 0.3.0... [INFO] testing rpmrepo_metadata-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rpmrepo_metadata 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rpmrepo_metadata 0.3.0 [INFO] removed 1 missing tests [INFO] finished tweaking crates.io crate rpmrepo_metadata 0.3.0 [INFO] tweaked toml for crates.io crate rpmrepo_metadata 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rpmrepo_metadata 0.3.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--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] Locking 165 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding niffler v2.5.0 (available: v2.7.0) [INFO] [stderr] Adding pyo3 v0.20.3 (available: v0.26.0) [INFO] [stderr] Adding quick-xml v0.23.1 (available: v0.38.3) [INFO] [stderr] Adding rpm v0.12.1 (available: v0.18.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded niffler v2.5.0 [INFO] [stderr] Downloaded enum-primitive-derive v0.2.2 [INFO] [stderr] Downloaded cpio v0.2.2 [INFO] [stderr] Downloaded capctl v0.2.4 [INFO] [stderr] Downloaded rpm v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1a6aa2b25851965000c8f37ea186983425f04d756e47bf49010098611ec22b1 [INFO] running `Command { std: "docker" "start" "-a" "f1a6aa2b25851965000c8f37ea186983425f04d756e47bf49010098611ec22b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1a6aa2b25851965000c8f37ea186983425f04d756e47bf49010098611ec22b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1a6aa2b25851965000c8f37ea186983425f04d756e47bf49010098611ec22b1", kill_on_drop: false }` [INFO] [stdout] f1a6aa2b25851965000c8f37ea186983425f04d756e47bf49010098611ec22b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df941cb5177c38abcc2fce66079c40716c9ce2c509c73bb286cb99aec5184103 [INFO] running `Command { std: "docker" "start" "-a" "df941cb5177c38abcc2fce66079c40716c9ce2c509c73bb286cb99aec5184103", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling quick-xml v0.23.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling niffler v2.5.0 [INFO] [stderr] Compiling rpmrepo_metadata v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/repository.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [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: `BufRead` [INFO] [stdout] --> src/repository.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/metadata.rs:626:27 [INFO] [stdout] | [INFO] [stdout] 626 | Self::Unknown(hash) => unimplemented!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateinfo_path` [INFO] [stdout] --> src/repository.rs:345:18 [INFO] [stdout] | [INFO] [stdout] 345 | let (updateinfo_path, updateinfo_writer) = utils::xml_writer_for_path( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateinfo_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rpmvercmp` is never used [INFO] [stdout] --> src/common.rs:251:8 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn rpmvercmp(evr1: &str, evr2: &str) -> Ordering { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_REBOOT_SUGGESTED` is never used [INFO] [stdout] --> src/updateinfo.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const TAG_REBOOT_SUGGESTED: &[u8] = b"reboot_suggested"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/common.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | let mut version1_part = version1.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/common.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | let mut version2_part = version2.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/metadata.rs:725:47 [INFO] [stdout] | [INFO] [stdout] 725 | pub fn to_values<'a>(&'a self) -> Result<(&str, &'a str), MetadataError> { [INFO] [stdout] | -- ^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 725 | pub fn to_values<'a>(&'a self) -> Result<(&'a str, &'a str), MetadataError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 30.83s [INFO] running `Command { std: "docker" "inspect" "df941cb5177c38abcc2fce66079c40716c9ce2c509c73bb286cb99aec5184103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df941cb5177c38abcc2fce66079c40716c9ce2c509c73bb286cb99aec5184103", kill_on_drop: false }` [INFO] [stdout] df941cb5177c38abcc2fce66079c40716c9ce2c509c73bb286cb99aec5184103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 566f5d0098b9a869c94f6750d60d539021e8ed3eb8a40db92156ea59ca7d2bc0 [INFO] running `Command { std: "docker" "start" "-a" "566f5d0098b9a869c94f6750d60d539021e8ed3eb8a40db92156ea59ca7d2bc0", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/repository.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [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: `BufRead` [INFO] [stdout] --> src/repository.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/metadata.rs:626:27 [INFO] [stdout] | [INFO] [stdout] 626 | Self::Unknown(hash) => unimplemented!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateinfo_path` [INFO] [stdout] --> src/repository.rs:345:18 [INFO] [stdout] | [INFO] [stdout] 345 | let (updateinfo_path, updateinfo_writer) = utils::xml_writer_for_path( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateinfo_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rpmvercmp` is never used [INFO] [stdout] --> src/common.rs:251:8 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn rpmvercmp(evr1: &str, evr2: &str) -> Ordering { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_REBOOT_SUGGESTED` is never used [INFO] [stdout] --> src/updateinfo.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const TAG_REBOOT_SUGGESTED: &[u8] = b"reboot_suggested"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/common.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | let mut version1_part = version1.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/common.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | let mut version2_part = version2.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/metadata.rs:725:47 [INFO] [stdout] | [INFO] [stdout] 725 | pub fn to_values<'a>(&'a self) -> Result<(&str, &'a str), MetadataError> { [INFO] [stdout] | -- ^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 725 | pub fn to_values<'a>(&'a self) -> Result<(&'a str, &'a str), MetadataError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling rpmrepo_metadata v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/repository.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [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: `BufRead` [INFO] [stdout] --> src/repository.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/metadata.rs:626:27 [INFO] [stdout] | [INFO] [stdout] 626 | Self::Unknown(hash) => unimplemented!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateinfo_path` [INFO] [stdout] --> src/repository.rs:345:18 [INFO] [stdout] | [INFO] [stdout] 345 | let (updateinfo_path, updateinfo_writer) = utils::xml_writer_for_path( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateinfo_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_REBOOT_SUGGESTED` is never used [INFO] [stdout] --> src/updateinfo.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const TAG_REBOOT_SUGGESTED: &[u8] = b"reboot_suggested"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/common.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | let mut version1_part = version1.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/common.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | let mut version2_part = version2.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/metadata.rs:725:47 [INFO] [stdout] | [INFO] [stdout] 725 | pub fn to_values<'a>(&'a self) -> Result<(&str, &'a str), MetadataError> { [INFO] [stdout] | -- ^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 725 | pub fn to_values<'a>(&'a self) -> Result<(&'a str, &'a str), MetadataError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 54.92s [INFO] running `Command { std: "docker" "inspect" "566f5d0098b9a869c94f6750d60d539021e8ed3eb8a40db92156ea59ca7d2bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "566f5d0098b9a869c94f6750d60d539021e8ed3eb8a40db92156ea59ca7d2bc0", kill_on_drop: false }` [INFO] [stdout] 566f5d0098b9a869c94f6750d60d539021e8ed3eb8a40db92156ea59ca7d2bc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7fe910c4c11c784914267e099cc2cce6ad5f4dad6e7475b3f12d2fc3910b185 [INFO] running `Command { std: "docker" "start" "-a" "e7fe910c4c11c784914267e099cc2cce6ad5f4dad6e7475b3f12d2fc3910b185", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/repository.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `BufRead` [INFO] [stderr] --> src/repository.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{BufRead, BufReader, Write}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hash` [INFO] [stderr] --> src/metadata.rs:626:27 [INFO] [stderr] | [INFO] [stderr] 626 | Self::Unknown(hash) => unimplemented!(), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `updateinfo_path` [INFO] [stderr] --> src/repository.rs:345:18 [INFO] [stderr] | [INFO] [stderr] 345 | let (updateinfo_path, updateinfo_writer) = utils::xml_writer_for_path( [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateinfo_path` [INFO] [stderr] [INFO] [stderr] warning: function `rpmvercmp` is never used [INFO] [stderr] --> src/common.rs:251:8 [INFO] [stderr] | [INFO] [stderr] 251 | pub fn rpmvercmp(evr1: &str, evr2: &str) -> Ordering { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `TAG_REBOOT_SUGGESTED` is never used [INFO] [stderr] --> src/updateinfo.rs:37:7 [INFO] [stderr] | [INFO] [stderr] 37 | const TAG_REBOOT_SUGGESTED: &[u8] = b"reboot_suggested"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/common.rs:132:37 [INFO] [stderr] | [INFO] [stderr] 132 | let mut version1_part = version1.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/common.rs:133:37 [INFO] [stderr] | [INFO] [stderr] 133 | let mut version2_part = version2.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/metadata.rs:725:47 [INFO] [stderr] | [INFO] [stderr] 725 | pub fn to_values<'a>(&'a self) -> Result<(&str, &'a str), MetadataError> { [INFO] [stderr] | -- ^^^^ -- the same lifetime is named here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is named 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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 725 | pub fn to_values<'a>(&'a self) -> Result<(&'a str, &'a str), MetadataError> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: constant `TAG_REBOOT_SUGGESTED` is never used [INFO] [stderr] --> src/updateinfo.rs:37:7 [INFO] [stderr] | [INFO] [stderr] 37 | const TAG_REBOOT_SUGGESTED: &[u8] = b"reboot_suggested"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rpmrepo_metadata` (lib) generated 9 warnings (run `cargo fix --lib -p rpmrepo_metadata` to apply 5 suggestions) [INFO] [stderr] warning: `rpmrepo_metadata` (lib test) generated 8 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rpmrepo_metadata-5e30417a1844a494) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test common::test::test_edge_cases ... ok [INFO] [stdout] test common::test::test_evr_parse ... ok [INFO] [stdout] test common::test::test_evr_ord ... ok [INFO] [stdout] test common::test::test_evr_tostr ... ok [INFO] [stdout] test common::test::test_compare_version_string ... ok [INFO] [stdout] test common::test::test_rpmvercmp ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rpmrepo_metadata [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" "e7fe910c4c11c784914267e099cc2cce6ad5f4dad6e7475b3f12d2fc3910b185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7fe910c4c11c784914267e099cc2cce6ad5f4dad6e7475b3f12d2fc3910b185", kill_on_drop: false }` [INFO] [stdout] e7fe910c4c11c784914267e099cc2cce6ad5f4dad6e7475b3f12d2fc3910b185