[INFO] cloning repository https://github.com/xurtis/yumclone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xurtis/yumclone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxurtis%2Fyumclone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxurtis%2Fyumclone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9bbe886f451a84348469cc0285fc98d2ed65692a [INFO] testing xurtis/yumclone against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxurtis%2Fyumclone" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xurtis/yumclone on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xurtis/yumclone [INFO] finished tweaking git repo https://github.com/xurtis/yumclone [INFO] tweaked toml for git repo https://github.com/xurtis/yumclone written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/xurtis/yumclone already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89e73b216b99cb21336adb7b8ab8788ed55bf85d3209f68d19dd46c5b224e7cf [INFO] running `Command { std: "docker" "start" "-a" "89e73b216b99cb21336adb7b8ab8788ed55bf85d3209f68d19dd46c5b224e7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89e73b216b99cb21336adb7b8ab8788ed55bf85d3209f68d19dd46c5b224e7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89e73b216b99cb21336adb7b8ab8788ed55bf85d3209f68d19dd46c5b224e7cf", kill_on_drop: false }` [INFO] [stdout] 89e73b216b99cb21336adb7b8ab8788ed55bf85d3209f68d19dd46c5b224e7cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 506f9db321dab211b4ed30602253b28beedbb37fe313dee12a9be55c025afcf2 [INFO] running `Command { std: "docker" "start" "-a" "506f9db321dab211b4ed30602253b28beedbb37fe313dee12a9be55c025afcf2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling futures-core v0.3.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling futures-sink v0.3.7 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.5 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling futures-channel v0.3.7 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling futures-task v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling async-compression v0.3.5 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling backtrace v0.3.54 [INFO] [stderr] Compiling tree_magic v0.2.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.7 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde-xml-rs v0.3.1 [INFO] [stderr] Compiling loadconf v0.2.0 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling yumclone v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/package.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `NewPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/package.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 178 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/package.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NewPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/package.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 178 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/config.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/config.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn sync(&self, check: CheckType) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/package.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct Checksum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.28s [INFO] running `Command { std: "docker" "inspect" "506f9db321dab211b4ed30602253b28beedbb37fe313dee12a9be55c025afcf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "506f9db321dab211b4ed30602253b28beedbb37fe313dee12a9be55c025afcf2", kill_on_drop: false }` [INFO] [stdout] 506f9db321dab211b4ed30602253b28beedbb37fe313dee12a9be55c025afcf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62cca5a900effc117c3a0200dddbf2a11e995960b12a39f05b6d4f4a27667265 [INFO] running `Command { std: "docker" "start" "-a" "62cca5a900effc117c3a0200dddbf2a11e995960b12a39f05b6d4f4a27667265", kill_on_drop: false }` [INFO] [stderr] Compiling yumclone v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/package.rs:408:38 [INFO] [stdout] | [INFO] [stdout] 408 | let local: Metadata = decode(&mut LOCAL_XML).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/package.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | / const LOCAL_XML: &[u8] = include_bytes!( [INFO] [stdout] 400 | | "test-data/local/repodata/84fe7bb9cf340186df02863647f41a4be32c86a21b80eaaeddaa97e99a24b7a6-primary.xml.gz" [INFO] [stdout] 401 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/repo.rs:326:34 [INFO] [stdout] | [INFO] [stdout] 326 | let local = Repo::decode(&mut LOCAL_REPOMD).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/repo.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | const LOCAL_REPOMD: &[u8] = include_bytes!("test-data/local/repodata/repomd.xml"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/repo.rs:327:35 [INFO] [stdout] | [INFO] [stdout] 327 | let remote = Repo::decode(&mut REMOTE_REPOMD).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/repo.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | const REMOTE_REPOMD: &[u8] = include_bytes!("test-data/remote/repodata/repomd.xml"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/repo.rs:336:35 [INFO] [stdout] | [INFO] [stdout] 336 | let remote = Repo::decode(&mut LOCAL_REPOMD).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/repo.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | const LOCAL_REPOMD: &[u8] = include_bytes!("test-data/local/repodata/repomd.xml"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/repo.rs:356:35 [INFO] [stdout] | [INFO] [stdout] 356 | let remote = Repo::decode(&mut LOCAL_REPOMD).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/repo.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | const LOCAL_REPOMD: &[u8] = include_bytes!("test-data/local/repodata/repomd.xml"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/package.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `NewPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/package.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 178 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/package.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NewPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/package.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 178 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REMOTE_XML` [INFO] [stdout] --> src/package.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | / const REMOTE_XML: &[u8] = include_bytes!( [INFO] [stdout] 403 | | "test-data/remote/repodata/328a9f961ff596aedac41d051634325110b8fb30b87c00f678c257644337d1d6-primary.xml.gz" [INFO] [stdout] 404 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.19s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/yumclone-6caade0f6fd730b0) [INFO] running `Command { std: "docker" "inspect" "62cca5a900effc117c3a0200dddbf2a11e995960b12a39f05b6d4f4a27667265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62cca5a900effc117c3a0200dddbf2a11e995960b12a39f05b6d4f4a27667265", kill_on_drop: false }` [INFO] [stdout] 62cca5a900effc117c3a0200dddbf2a11e995960b12a39f05b6d4f4a27667265 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae5e70ce1a164c36659f98358e13d147adb4625613916217634205542bd95dcf [INFO] running `Command { std: "docker" "start" "-a" "ae5e70ce1a164c36659f98358e13d147adb4625613916217634205542bd95dcf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/package.rs:408:38 [INFO] [stderr] | [INFO] [stderr] 408 | let local: Metadata = decode(&mut LOCAL_XML).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/package.rs:399:5 [INFO] [stderr] | [INFO] [stderr] 399 | / const LOCAL_XML: &[u8] = include_bytes!( [INFO] [stderr] 400 | | "test-data/local/repodata/84fe7bb9cf340186df02863647f41a4be32c86a21b80eaaeddaa97e99a24b7a6-primary.xml.gz" [INFO] [stderr] 401 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/repo.rs:326:34 [INFO] [stderr] | [INFO] [stderr] 326 | let local = Repo::decode(&mut LOCAL_REPOMD).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/repo.rs:321:5 [INFO] [stderr] | [INFO] [stderr] 321 | const LOCAL_REPOMD: &[u8] = include_bytes!("test-data/local/repodata/repomd.xml"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/repo.rs:327:35 [INFO] [stderr] | [INFO] [stderr] 327 | let remote = Repo::decode(&mut REMOTE_REPOMD).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/repo.rs:322:5 [INFO] [stderr] | [INFO] [stderr] 322 | const REMOTE_REPOMD: &[u8] = include_bytes!("test-data/remote/repodata/repomd.xml"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/repo.rs:336:35 [INFO] [stderr] | [INFO] [stderr] 336 | let remote = Repo::decode(&mut LOCAL_REPOMD).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/repo.rs:321:5 [INFO] [stderr] | [INFO] [stderr] 321 | const LOCAL_REPOMD: &[u8] = include_bytes!("test-data/local/repodata/repomd.xml"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/repo.rs:356:35 [INFO] [stderr] | [INFO] [stderr] 356 | let remote = Repo::decode(&mut LOCAL_REPOMD).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/repo.rs:321:5 [INFO] [stderr] | [INFO] [stderr] 321 | const LOCAL_REPOMD: &[u8] = include_bytes!("test-data/local/repodata/repomd.xml"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/package.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 180 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `NewPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/package.rs:178:10 [INFO] [stderr] | [INFO] [stderr] 178 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `version` [INFO] [stderr] --> src/package.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | version: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `NewPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/package.rs:178:10 [INFO] [stderr] | [INFO] [stderr] 178 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `REMOTE_XML` [INFO] [stderr] --> src/package.rs:402:5 [INFO] [stderr] | [INFO] [stderr] 402 | / const REMOTE_XML: &[u8] = include_bytes!( [INFO] [stderr] 403 | | "test-data/remote/repodata/328a9f961ff596aedac41d051634325110b8fb30b87c00f678c257644337d1d6-primary.xml.gz" [INFO] [stderr] 404 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: `yumclone` (bin "yumclone" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/yumclone-6caade0f6fd730b0) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test urlmux::test::create_tag_field ... ok [INFO] [stdout] test urlmux::test::url_mux ... ok [INFO] [stdout] test urlmux::test::url_tag_replace ... ok [INFO] [stdout] test repo::test::metadata_list ... ok [INFO] [stdout] test repo::test::primary_path ... ok [INFO] [stdout] test repo::test::check_dissimilar ... ok [INFO] [stdout] test package::test::read_packages has been running for over 60 seconds [INFO] [stdout] test package::test::read_packages ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 69.92s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ae5e70ce1a164c36659f98358e13d147adb4625613916217634205542bd95dcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae5e70ce1a164c36659f98358e13d147adb4625613916217634205542bd95dcf", kill_on_drop: false }` [INFO] [stdout] ae5e70ce1a164c36659f98358e13d147adb4625613916217634205542bd95dcf