[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 1.63.0 for beta-1.64-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxurtis%2Fyumclone" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xurtis/yumclone on toolchain 1.63.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "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-3/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" "+1.63.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.2.18 [INFO] [stderr] Downloaded security-framework-sys v2.0.0 [INFO] [stderr] Downloaded native-tls v0.2.5 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded ucd-util v0.1.8 [INFO] [stderr] Downloaded loadconf v0.2.0 [INFO] [stderr] Downloaded error-chain v0.11.0 [INFO] [stderr] Downloaded structopt v0.2.18 [INFO] [stderr] Downloaded signal-hook-registry v1.2.2 [INFO] [stderr] Downloaded form_urlencoded v1.0.0 [INFO] [stderr] Downloaded url v2.2.0 [INFO] [stderr] Downloaded security-framework v2.0.0 [INFO] [stderr] Downloaded tree_magic v0.2.3 [INFO] [stderr] Downloaded async-compression v0.3.5 [INFO] [stderr] Downloaded hyper v0.13.9 [INFO] [stderr] Downloaded serde-xml-rs v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1349c67aa73c0b7de2a3010a553d464ae03920033d53cf1cc1909242fc38bd0a [INFO] running `Command { std: "docker" "start" "-a" "1349c67aa73c0b7de2a3010a553d464ae03920033d53cf1cc1909242fc38bd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1349c67aa73c0b7de2a3010a553d464ae03920033d53cf1cc1909242fc38bd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1349c67aa73c0b7de2a3010a553d464ae03920033d53cf1cc1909242fc38bd0a", kill_on_drop: false }` [INFO] [stdout] 1349c67aa73c0b7de2a3010a553d464ae03920033d53cf1cc1909242fc38bd0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a05ff0965d152071cb5f11fbe83b64e1ccf5e100098318f7d4265217996f6b5c [INFO] running `Command { std: "docker" "start" "-a" "a05ff0965d152071cb5f11fbe83b64e1ccf5e100098318f7d4265217996f6b5c", 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 autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [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 slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.7 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling untrusted v0.7.1 [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 spin v0.5.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-sink v0.3.7 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.5 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling futures-task v0.3.7 [INFO] [stderr] Compiling futures-channel v0.3.7 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [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 unicode-normalization v0.1.13 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling backtrace v0.3.54 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling async-compression v0.3.5 [INFO] [stderr] Compiling tree_magic v0.2.3 [INFO] [stderr] Compiling synstructure v0.12.4 [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 webpki-roots v0.19.0 [INFO] [stderr] Compiling rustls v0.18.1 [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 tokio v0.2.22 [INFO] [stderr] Compiling failure v0.1.8 [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 pin-project v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.7 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [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 hyper v0.13.9 [INFO] [stderr] Compiling loadconf v0.2.0 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling yumclone v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/package.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 179 | struct NewPackage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 180 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 181 | version: 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] [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 20s [INFO] running `Command { std: "docker" "inspect" "a05ff0965d152071cb5f11fbe83b64e1ccf5e100098318f7d4265217996f6b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a05ff0965d152071cb5f11fbe83b64e1ccf5e100098318f7d4265217996f6b5c", kill_on_drop: false }` [INFO] [stdout] a05ff0965d152071cb5f11fbe83b64e1ccf5e100098318f7d4265217996f6b5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8abc48657af180243dfef48a89620b7c62b28bccd801532346ac6a401abea28a [INFO] running `Command { std: "docker" "start" "-a" "8abc48657af180243dfef48a89620b7c62b28bccd801532346ac6a401abea28a", 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: fields `name` and `version` are never read [INFO] [stdout] --> src/package.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 179 | struct NewPackage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 180 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 181 | version: 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] [INFO] [stdout] [INFO] [stdout] warning: constant `REMOTE_XML` is never used [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.12s [INFO] running `Command { std: "docker" "inspect" "8abc48657af180243dfef48a89620b7c62b28bccd801532346ac6a401abea28a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abc48657af180243dfef48a89620b7c62b28bccd801532346ac6a401abea28a", kill_on_drop: false }` [INFO] [stdout] 8abc48657af180243dfef48a89620b7c62b28bccd801532346ac6a401abea28a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4e085650658feaeb10d4aad05531711e1e0f0ed32c04eece3e2a73e3f4e9f3ec [INFO] running `Command { std: "docker" "start" "-a" "4e085650658feaeb10d4aad05531711e1e0f0ed32c04eece3e2a73e3f4e9f3ec", kill_on_drop: false }` [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: fields `name` and `version` are never read [INFO] [stderr] --> src/package.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 179 | struct NewPackage { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 180 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 181 | version: 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] [INFO] [stderr] warning: constant `REMOTE_XML` is never used [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 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/yumclone-bcb36998c45a4ce8) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test urlmux::test::url_mux ... ok [INFO] [stdout] test urlmux::test::url_tag_replace ... ok [INFO] [stdout] test urlmux::test::create_tag_field ... ok [INFO] [stdout] test repo::test::check_dissimilar ... ok [INFO] [stdout] test repo::test::metadata_list ... ok [INFO] [stdout] test repo::test::primary_path ... 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 70.99s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4e085650658feaeb10d4aad05531711e1e0f0ed32c04eece3e2a73e3f4e9f3ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e085650658feaeb10d4aad05531711e1e0f0ed32c04eece3e2a73e3f4e9f3ec", kill_on_drop: false }` [INFO] [stdout] 4e085650658feaeb10d4aad05531711e1e0f0ed32c04eece3e2a73e3f4e9f3ec