[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] checking xurtis/yumclone against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [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] [stderr] Checking out files: 77% (24/31) Checking out files: 80% (25/31) Checking out files: 83% (26/31) Checking out files: 87% (27/31) Checking out files: 90% (28/31) Checking out files: 93% (29/31) Checking out files: 96% (30/31) Checking out files: 100% (31/31) Checking out files: 100% (31/31), done. [INFO] validating manifest of git repo https://github.com/xurtis/yumclone on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba11f2cc8dd33fef62d298b61bb6fd5e1d09070f2cb08198b1d61d2527569b37 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ba11f2cc8dd33fef62d298b61bb6fd5e1d09070f2cb08198b1d61d2527569b37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba11f2cc8dd33fef62d298b61bb6fd5e1d09070f2cb08198b1d61d2527569b37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba11f2cc8dd33fef62d298b61bb6fd5e1d09070f2cb08198b1d61d2527569b37", kill_on_drop: false }` [INFO] [stdout] ba11f2cc8dd33fef62d298b61bb6fd5e1d09070f2cb08198b1d61d2527569b37 [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=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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f670d434c0ed12d0b485766a6a674b3d447ed855daf7ee82865f2d025eecf7b0 [INFO] running `Command { std: "docker" "start" "-a" "f670d434c0ed12d0b485766a6a674b3d447ed855daf7ee82865f2d025eecf7b0", kill_on_drop: false }` [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] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking encoding_rs v0.8.26 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking async-compression v0.3.5 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking backtrace v0.3.54 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking tree_magic v0.2.3 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Compiling synstructure v0.12.4 [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_derive v0.1.8 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde-xml-rs v0.3.1 [INFO] [stderr] Checking loadconf v0.2.0 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Checking yumclone v0.3.0 (/opt/rustwide/workdir) [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 17s [INFO] running `Command { std: "docker" "inspect" "f670d434c0ed12d0b485766a6a674b3d447ed855daf7ee82865f2d025eecf7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f670d434c0ed12d0b485766a6a674b3d447ed855daf7ee82865f2d025eecf7b0", kill_on_drop: false }` [INFO] [stdout] f670d434c0ed12d0b485766a6a674b3d447ed855daf7ee82865f2d025eecf7b0