[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxurtis%2Fyumclone" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xurtis/yumclone on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-8/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" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt v0.2.18 [INFO] [stderr] Downloaded tree_magic v0.2.3 [INFO] [stderr] Downloaded structopt-derive v0.2.18 [INFO] [stderr] Downloaded futures-channel v0.3.7 [INFO] [stderr] Downloaded serde-xml-rs v0.3.1 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded futures-sink v0.3.7 [INFO] [stderr] Downloaded futures-util v0.3.7 [INFO] [stderr] Downloaded async-compression v0.3.5 [INFO] [stderr] Downloaded futures-task v0.3.7 [INFO] [stderr] Downloaded hex v0.3.2 [INFO] [stderr] Downloaded loadconf v0.2.0 [INFO] [stderr] Downloaded tokio-rustls v0.14.1 [INFO] [stderr] Downloaded futures-core v0.3.7 [INFO] [stderr] Downloaded futures-macro v0.3.7 [INFO] [stderr] Downloaded native-tls v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a36a09e82f7ecac4a5e40231d977d892104bcdc6861f900391d28d23911f456 [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" "4a36a09e82f7ecac4a5e40231d977d892104bcdc6861f900391d28d23911f456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a36a09e82f7ecac4a5e40231d977d892104bcdc6861f900391d28d23911f456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a36a09e82f7ecac4a5e40231d977d892104bcdc6861f900391d28d23911f456", kill_on_drop: false }` [INFO] [stdout] 4a36a09e82f7ecac4a5e40231d977d892104bcdc6861f900391d28d23911f456 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] d225323d54f72646b1f30f47ffeff1b06e89e07f8965b0c9c6edcf7b701f463c [INFO] running `Command { std: "docker" "start" "-a" "d225323d54f72646b1f30f47ffeff1b06e89e07f8965b0c9c6edcf7b701f463c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking futures-sink v0.3.7 [INFO] [stderr] Compiling native-tls v0.2.5 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking openssl v0.10.30 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking async-compression v0.3.5 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking tree_magic v0.2.3 [INFO] [stderr] Checking structopt 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] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.117 [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 serde v1.0.117 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.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 hyper v0.13.9 [INFO] [stderr] Checking loadconf v0.2.0 [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 1m 27s [INFO] running `Command { std: "docker" "inspect" "d225323d54f72646b1f30f47ffeff1b06e89e07f8965b0c9c6edcf7b701f463c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d225323d54f72646b1f30f47ffeff1b06e89e07f8965b0c9c6edcf7b701f463c", kill_on_drop: false }` [INFO] [stdout] d225323d54f72646b1f30f47ffeff1b06e89e07f8965b0c9c6edcf7b701f463c