[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] checking parvusvox/elix against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [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] validating manifest of git repo https://github.com/parvusvox/elix on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/parvusvox/autodiscover-rs/` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows_macros v0.18.0 [INFO] [stderr] Downloaded windows v0.18.0 [INFO] [stderr] Downloaded local-ip-address v0.4.4 [INFO] [stderr] Downloaded neli v0.5.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9750d5c8f8eb0f93cb3026baafeae8abe42bc880fc46a9b692bad8cc4fc4c44 [INFO] running `Command { std: "docker" "start" "-a" "a9750d5c8f8eb0f93cb3026baafeae8abe42bc880fc46a9b692bad8cc4fc4c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9750d5c8f8eb0f93cb3026baafeae8abe42bc880fc46a9b692bad8cc4fc4c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9750d5c8f8eb0f93cb3026baafeae8abe42bc880fc46a9b692bad8cc4fc4c44", kill_on_drop: false }` [INFO] [stdout] a9750d5c8f8eb0f93cb3026baafeae8abe42bc880fc46a9b692bad8cc4fc4c44 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9c86a80cad66d4ba0ed0f384cec6e4362d8922c73e4f80778236637036e23ab [INFO] running `Command { std: "docker" "start" "-a" "f9c86a80cad66d4ba0ed0f384cec6e4362d8922c73e4f80778236637036e23ab", 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 memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling local-ip-address v0.4.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking neli v0.5.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking flate2 v1.0.21 [INFO] [stderr] Checking autodiscover-rs v0.1.1 (https://github.com/parvusvox/autodiscover-rs/#c0d4eb8d) [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking indicatif v0.16.2 [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] Checking thiserror v1.0.26 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Checking 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: the item `autodiscover_rs` is imported redundantly [INFO] [stdout] --> src/network_utils.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use autodiscover_rs::{self, Method}; [INFO] [stdout] | ^^^^ the item `autodiscover_rs` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Seek` is imported redundantly [INFO] [stdout] --> src/compress.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Seek` is already imported here [INFO] [stdout] 2 | use std::io::{Seek, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/compress.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Write` is already imported here [INFO] [stdout] 2 | use std::io::{Seek, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/compress.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [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: the item `autodiscover_rs` is imported redundantly [INFO] [stdout] --> src/network_utils.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use autodiscover_rs::{self, Method}; [INFO] [stdout] | ^^^^ the item `autodiscover_rs` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Seek` is imported redundantly [INFO] [stdout] --> src/compress.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Seek` is already imported here [INFO] [stdout] 2 | use std::io::{Seek, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/compress.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Write` is already imported here [INFO] [stdout] 2 | use std::io::{Seek, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/compress.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [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::::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: 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: 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: 14 warnings emitted [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.63s [INFO] running `Command { std: "docker" "inspect" "f9c86a80cad66d4ba0ed0f384cec6e4362d8922c73e4f80778236637036e23ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9c86a80cad66d4ba0ed0f384cec6e4362d8922c73e4f80778236637036e23ab", kill_on_drop: false }` [INFO] [stdout] f9c86a80cad66d4ba0ed0f384cec6e4362d8922c73e4f80778236637036e23ab [INFO] checking parvusvox/elix against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparvusvox%2Felix" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/parvusvox/elix on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc2/source/Cargo.toml [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60c65f89fb88370507800487768458a8d0acc39a3960a36c672de8817a5ce728 [INFO] running `Command { std: "docker" "start" "-a" "60c65f89fb88370507800487768458a8d0acc39a3960a36c672de8817a5ce728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60c65f89fb88370507800487768458a8d0acc39a3960a36c672de8817a5ce728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60c65f89fb88370507800487768458a8d0acc39a3960a36c672de8817a5ce728", kill_on_drop: false }` [INFO] [stdout] 60c65f89fb88370507800487768458a8d0acc39a3960a36c672de8817a5ce728 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e85d5dd53db5b612769ea43ecb0570b8c950d13a0a2721cc82850f23c81fcfa [INFO] running `Command { std: "docker" "start" "-a" "8e85d5dd53db5b612769ea43ecb0570b8c950d13a0a2721cc82850f23c81fcfa", 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 memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling local-ip-address v0.4.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking flate2 v1.0.21 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking neli v0.5.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking autodiscover-rs v0.1.1 (https://github.com/parvusvox/autodiscover-rs/#c0d4eb8d) [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking 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] Checking thiserror v1.0.26 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Checking 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: the item `autodiscover_rs` is imported redundantly [INFO] [stdout] --> src/network_utils.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use autodiscover_rs::{self, Method}; [INFO] [stdout] | ^^^^ the item `autodiscover_rs` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Seek` is imported redundantly [INFO] [stdout] --> src/compress.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Seek` is already imported here [INFO] [stdout] 2 | use std::io::{Seek, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/compress.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Write` is already imported here [INFO] [stdout] 2 | use std::io::{Seek, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/compress.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [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: the item `autodiscover_rs` is imported redundantly [INFO] [stdout] --> src/network_utils.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use autodiscover_rs::{self, Method}; [INFO] [stdout] | ^^^^ the item `autodiscover_rs` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Seek` is imported redundantly [INFO] [stdout] --> src/compress.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Seek` is already imported here [INFO] [stdout] 2 | use std::io::{Seek, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/compress.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Write` is already imported here [INFO] [stdout] 2 | use std::io::{Seek, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/compress.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [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: 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: 14 warnings emitted [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.66s [INFO] running `Command { std: "docker" "inspect" "8e85d5dd53db5b612769ea43ecb0570b8c950d13a0a2721cc82850f23c81fcfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e85d5dd53db5b612769ea43ecb0570b8c950d13a0a2721cc82850f23c81fcfa", kill_on_drop: false }` [INFO] [stdout] 8e85d5dd53db5b612769ea43ecb0570b8c950d13a0a2721cc82850f23c81fcfa