[INFO] cloning repository https://github.com/parvusvox/elix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/parvusvox/elix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparvusvox%2Felix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparvusvox%2Felix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0be55b717da0b0dd6490a4d589a2e55536f3b1cf [INFO] testing parvusvox/elix against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparvusvox%2Felix" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/parvusvox/elix [INFO] finished tweaking git repo https://github.com/parvusvox/elix [INFO] tweaked toml for git repo https://github.com/parvusvox/elix written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/parvusvox/elix on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/parvusvox/elix already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/parvusvox/autodiscover-rs/` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows_macros v0.18.0 [INFO] [stderr] Downloaded windows v0.18.0 [INFO] [stderr] Downloaded memalloc v0.1.0 [INFO] [stderr] Downloaded neli v0.5.3 [INFO] [stderr] Downloaded bytesize v1.1.0 [INFO] [stderr] Downloaded local-ip-address v0.4.4 [INFO] [stderr] Downloaded const-sha1 v0.2.0 [INFO] [stderr] Downloaded windows_gen v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bde183375531ab79fcc5dde5a2c76d04ad87e1ac7bc90e2d8e6bc45390fe0c9d [INFO] running `Command { std: "docker" "start" "-a" "bde183375531ab79fcc5dde5a2c76d04ad87e1ac7bc90e2d8e6bc45390fe0c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bde183375531ab79fcc5dde5a2c76d04ad87e1ac7bc90e2d8e6bc45390fe0c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde183375531ab79fcc5dde5a2c76d04ad87e1ac7bc90e2d8e6bc45390fe0c9d", kill_on_drop: false }` [INFO] [stdout] bde183375531ab79fcc5dde5a2c76d04ad87e1ac7bc90e2d8e6bc45390fe0c9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 46bdcdc64c202ea583c65e39cd6695e36bb82c9ab53ef8058b6f7ee944bfc020 [INFO] running `Command { std: "docker" "start" "-a" "46bdcdc64c202ea583c65e39cd6695e36bb82c9ab53ef8058b6f7ee944bfc020", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling local-ip-address v0.4.4 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling flate2 v1.0.21 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling neli v0.5.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling autodiscover-rs v0.1.1 (https://github.com/parvusvox/autodiscover-rs/#c0d4eb8d) [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling elix v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/networking.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deflate` [INFO] [stdout] --> src/compress.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | feature = "deflate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deflate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deflate-miniz` [INFO] [stdout] --> src/compress.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | feature = "deflate-miniz", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deflate-miniz` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deflate-zlib` [INFO] [stdout] --> src/compress.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | feature = "deflate-zlib" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deflate-zlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deflate` [INFO] [stdout] --> src/compress.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | feature = "deflate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deflate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deflate-miniz` [INFO] [stdout] --> src/compress.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | feature = "deflate-miniz", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deflate-miniz` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deflate-zlib` [INFO] [stdout] --> src/compress.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | feature = "deflate-zlib", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deflate-zlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bzip2` [INFO] [stdout] --> src/compress.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature="bzip2")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bzip2` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bzip2` [INFO] [stdout] --> src/compress.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(not(feature="bzip2"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bzip2` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `zip::ZipWriter::::start_file_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `start_file` instead. [INFO] [stdout] --> src/compress.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | zip.start_file_from_path(name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `zip::ZipWriter::::add_directory_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `add_directory` instead. [INFO] [stdout] --> src/compress.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | zip.add_directory_from_path(name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/decompress.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn decompress_mem_bin(buffer: Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD_STORED` is never used [INFO] [stdout] --> src/compress.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const METHOD_STORED: Option = Some(zip::CompressionMethod::Stored); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD_DEFLATED` is never used [INFO] [stdout] --> src/compress.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const METHOD_DEFLATED: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD_BZIP2` is never used [INFO] [stdout] --> src/compress.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const METHOD_BZIP2: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress_mem_bin` is never used [INFO] [stdout] --> src/decompress.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn decompress_mem_bin(buffer: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/networking.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | let buffer = reader.fill_buf().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` 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/networking.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 153 | let length = buffer.clone().len(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ui.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn build_arg_parser(version:&str) -> App{ [INFO] [stdout] | ^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 4 | pub fn build_arg_parser(version:&str) -> App<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.72s [INFO] running `Command { std: "docker" "inspect" "46bdcdc64c202ea583c65e39cd6695e36bb82c9ab53ef8058b6f7ee944bfc020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46bdcdc64c202ea583c65e39cd6695e36bb82c9ab53ef8058b6f7ee944bfc020", kill_on_drop: false }` [INFO] [stdout] 46bdcdc64c202ea583c65e39cd6695e36bb82c9ab53ef8058b6f7ee944bfc020 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] addd9b6d9e7f7bf363db4697dfc493ab50d2222d5a8cff4c68104b14dbe8e147 [INFO] running `Command { std: "docker" "start" "-a" "addd9b6d9e7f7bf363db4697dfc493ab50d2222d5a8cff4c68104b14dbe8e147", kill_on_drop: false }` [INFO] [stderr] Compiling elix v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/networking.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deflate` [INFO] [stdout] --> src/compress.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | feature = "deflate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deflate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deflate-miniz` [INFO] [stdout] --> src/compress.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | feature = "deflate-miniz", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deflate-miniz` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deflate-zlib` [INFO] [stdout] --> src/compress.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | feature = "deflate-zlib" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deflate-zlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deflate` [INFO] [stdout] --> src/compress.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | feature = "deflate", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deflate` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deflate-miniz` [INFO] [stdout] --> src/compress.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | feature = "deflate-miniz", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deflate-miniz` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deflate-zlib` [INFO] [stdout] --> src/compress.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | feature = "deflate-zlib", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deflate-zlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bzip2` [INFO] [stdout] --> src/compress.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature="bzip2")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bzip2` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bzip2` [INFO] [stdout] --> src/compress.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(not(feature="bzip2"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bzip2` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `zip::ZipWriter::::start_file_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `start_file` instead. [INFO] [stdout] --> src/compress.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | zip.start_file_from_path(name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `zip::ZipWriter::::add_directory_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `add_directory` instead. [INFO] [stdout] --> src/compress.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | zip.add_directory_from_path(name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/decompress.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn decompress_mem_bin(buffer: Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD_STORED` is never used [INFO] [stdout] --> src/compress.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const METHOD_STORED: Option = Some(zip::CompressionMethod::Stored); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD_DEFLATED` is never used [INFO] [stdout] --> src/compress.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const METHOD_DEFLATED: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD_BZIP2` is never used [INFO] [stdout] --> src/compress.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const METHOD_BZIP2: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress_mem_bin` is never used [INFO] [stdout] --> src/decompress.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn decompress_mem_bin(buffer: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/networking.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | let buffer = reader.fill_buf().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` 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/networking.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 153 | let length = buffer.clone().len(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ui.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn build_arg_parser(version:&str) -> App{ [INFO] [stdout] | ^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 4 | pub fn build_arg_parser(version:&str) -> App<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "addd9b6d9e7f7bf363db4697dfc493ab50d2222d5a8cff4c68104b14dbe8e147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "addd9b6d9e7f7bf363db4697dfc493ab50d2222d5a8cff4c68104b14dbe8e147", kill_on_drop: false }` [INFO] [stdout] addd9b6d9e7f7bf363db4697dfc493ab50d2222d5a8cff4c68104b14dbe8e147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] db8a1068e76d8b5ed7d810ae6b6180c2e45657ddc064992298336fc951d0548f [INFO] running `Command { std: "docker" "start" "-a" "db8a1068e76d8b5ed7d810ae6b6180c2e45657ddc064992298336fc951d0548f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/networking.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `deflate` [INFO] [stderr] --> src/compress.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | feature = "deflate", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `deflate` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `deflate-miniz` [INFO] [stderr] --> src/compress.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | feature = "deflate-miniz", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `deflate-miniz` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `deflate-zlib` [INFO] [stderr] --> src/compress.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | feature = "deflate-zlib" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `deflate-zlib` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `deflate` [INFO] [stderr] --> src/compress.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | feature = "deflate", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `deflate` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `deflate-miniz` [INFO] [stderr] --> src/compress.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | feature = "deflate-miniz", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `deflate-miniz` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `deflate-zlib` [INFO] [stderr] --> src/compress.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | feature = "deflate-zlib", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `deflate-zlib` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `bzip2` [INFO] [stderr] --> src/compress.rs:28:7 [INFO] [stderr] | [INFO] [stderr] 28 | #[cfg(feature="bzip2")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `bzip2` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `bzip2` [INFO] [stderr] --> src/compress.rs:31:11 [INFO] [stderr] | [INFO] [stderr] 31 | #[cfg(not(feature="bzip2"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `bzip2` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `zip::ZipWriter::::start_file_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `start_file` instead. [INFO] [stderr] --> src/compress.rs:52:17 [INFO] [stderr] | [INFO] [stderr] 52 | zip.start_file_from_path(name, options)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `zip::ZipWriter::::add_directory_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `add_directory` instead. [INFO] [stderr] --> src/compress.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | zip.add_directory_from_path(name, options)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buffer` [INFO] [stderr] --> src/decompress.rs:4:27 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn decompress_mem_bin(buffer: Vec) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `METHOD_STORED` is never used [INFO] [stderr] --> src/compress.rs:12:7 [INFO] [stderr] | [INFO] [stderr] 12 | const METHOD_STORED: Option = Some(zip::CompressionMethod::Stored); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `METHOD_DEFLATED` is never used [INFO] [stderr] --> src/compress.rs:26:7 [INFO] [stderr] | [INFO] [stderr] 26 | const METHOD_DEFLATED: Option = None; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `METHOD_BZIP2` is never used [INFO] [stderr] --> src/compress.rs:32:7 [INFO] [stderr] | [INFO] [stderr] 32 | const METHOD_BZIP2: Option = None; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decompress_mem_bin` is never used [INFO] [stderr] --> src/decompress.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn decompress_mem_bin(buffer: Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/networking.rs:152:48 [INFO] [stderr] | [INFO] [stderr] 152 | let buffer = reader.fill_buf().unwrap().clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` 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/networking.rs:153:28 [INFO] [stderr] | [INFO] [stderr] 153 | let length = buffer.clone().len(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ui.rs:4:33 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn build_arg_parser(version:&str) -> App{ [INFO] [stderr] | ^^^^ --- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 4 | pub fn build_arg_parser(version:&str) -> App<'_>{ [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `elix` (bin "elix" test) generated 19 warnings (run `cargo fix --bin "elix" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/elix-b132c77471f62eae) [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" "db8a1068e76d8b5ed7d810ae6b6180c2e45657ddc064992298336fc951d0548f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db8a1068e76d8b5ed7d810ae6b6180c2e45657ddc064992298336fc951d0548f", kill_on_drop: false }` [INFO] [stdout] db8a1068e76d8b5ed7d810ae6b6180c2e45657ddc064992298336fc951d0548f