[INFO] cloning repository https://github.com/pop-os/buildchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pop-os/buildchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpop-os%2Fbuildchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpop-os%2Fbuildchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7438e4ed15334f9e0d4369964659404e6adb72f [INFO] linting pop-os/buildchain/b7438e4ed15334f9e0d4369964659404e6adb72f against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpop-os%2Fbuildchain" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pop-os/buildchain [INFO] finished tweaking git repo https://github.com/pop-os/buildchain [INFO] tweaked toml for git repo https://github.com/pop-os/buildchain written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pop-os/buildchain on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pop-os/buildchain 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded index-fixed v0.3.1 [INFO] [stderr] Downloaded textwrap v0.16.1 [INFO] [stderr] Downloaded lxd v0.1.10 [INFO] [stderr] Downloaded sodalite v0.4.0 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4f413845328f5328802acebddcf20901d03050c8dea4971fa62dc053a2ccfe5 [INFO] running `Command { std: "docker" "start" "-a" "d4f413845328f5328802acebddcf20901d03050c8dea4971fa62dc053a2ccfe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4f413845328f5328802acebddcf20901d03050c8dea4971fa62dc053a2ccfe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f413845328f5328802acebddcf20901d03050c8dea4971fa62dc053a2ccfe5", kill_on_drop: false }` [INFO] [stdout] d4f413845328f5328802acebddcf20901d03050c8dea4971fa62dc053a2ccfe5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f303397f88fb5ac2dca74b72c5a4cab0b943ae48d044998b70f7e5e6c4129db2 [INFO] running `Command { std: "docker" "start" "-a" "f303397f88fb5ac2dca74b72c5a4cab0b943ae48d044998b70f7e5e6c4129db2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking index-fixed v0.3.1 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking sodalite v0.4.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tempfile v3.17.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking lxd v0.1.10 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking buildchain v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: item uses `packed` representation without ABI-qualification [INFO] [stdout] --> src/block.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[repr(packed)] [INFO] [stdout] | ------ `packed` representation set here [INFO] [stdout] 11 | / pub(crate) struct PackedBlockRequest { [INFO] [stdout] 12 | | signature: [u8; 64], [INFO] [stdout] 13 | | public_key: [u8; 32], [INFO] [stdout] 14 | | previous_signature: [u8; 64], [INFO] [stdout] ... | [INFO] [stdout] 17 | | digest: [u8; 48], [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI [INFO] [stdout] = help: qualify the desired ABI explicitly via `#[repr(C, packed)]` or `#[repr(Rust, packed)]` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi [INFO] [stdout] = note: `#[warn(clippy::repr_packed_without_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: item uses `packed` representation without ABI-qualification [INFO] [stdout] --> src/block.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[repr(packed)] [INFO] [stdout] | ------ `packed` representation set here [INFO] [stdout] 21 | / pub(crate) struct PackedBlock { [INFO] [stdout] 22 | | signature: [u8; 64], [INFO] [stdout] 23 | | public_key: [u8; 32], [INFO] [stdout] 24 | | previous_signature: [u8; 64], [INFO] [stdout] ... | [INFO] [stdout] 27 | | request: PackedBlockRequest, [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI [INFO] [stdout] = help: qualify the desired ABI explicitly via `#[repr(C, packed)]` or `#[repr(Rust, packed)]` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: item uses `packed` representation without ABI-qualification [INFO] [stdout] --> src/block.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[repr(packed)] [INFO] [stdout] | ------ `packed` representation set here [INFO] [stdout] 11 | / pub(crate) struct PackedBlockRequest { [INFO] [stdout] 12 | | signature: [u8; 64], [INFO] [stdout] 13 | | public_key: [u8; 32], [INFO] [stdout] 14 | | previous_signature: [u8; 64], [INFO] [stdout] ... | [INFO] [stdout] 17 | | digest: [u8; 48], [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI [INFO] [stdout] = help: qualify the desired ABI explicitly via `#[repr(C, packed)]` or `#[repr(Rust, packed)]` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi [INFO] [stdout] = note: `#[warn(clippy::repr_packed_without_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: item uses `packed` representation without ABI-qualification [INFO] [stdout] --> src/block.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[repr(packed)] [INFO] [stdout] | ------ `packed` representation set here [INFO] [stdout] 21 | / pub(crate) struct PackedBlock { [INFO] [stdout] 22 | | signature: [u8; 64], [INFO] [stdout] 23 | | public_key: [u8; 32], [INFO] [stdout] 24 | | previous_signature: [u8; 64], [INFO] [stdout] ... | [INFO] [stdout] 27 | | request: PackedBlockRequest, [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI [INFO] [stdout] = help: qualify the desired ABI explicitly via `#[repr(C, packed)]` or `#[repr(Rust, packed)]` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/build.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | .map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 28 - .map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; [INFO] [stdout] 28 + .map_err(|err| io::Error::other(err))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/build.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | .map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 31 - .map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; [INFO] [stdout] 31 + .map_err(|err| io::Error::other(err))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/build.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | .map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 34 - .map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; [INFO] [stdout] 34 + .map_err(|err| io::Error::other(err))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/build.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | Err(io::Error::new( [INFO] [stdout] | _____________^ [INFO] [stdout] 167 | | io::ErrorKind::Other, [INFO] [stdout] 168 | | format!("tar failed with status: {}", status), [INFO] [stdout] 169 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 166 ~ Err(io::Error::other( [INFO] [stdout] 167 ~ format!("tar failed with status: {}", status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/build.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | .map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 28 - .map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; [INFO] [stdout] 28 + .map_err(|err| io::Error::other(err))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/build.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | .map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 31 - .map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; [INFO] [stdout] 31 + .map_err(|err| io::Error::other(err))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/build.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | .map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 34 - .map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; [INFO] [stdout] 34 + .map_err(|err| io::Error::other(err))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/build.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | Err(io::Error::new( [INFO] [stdout] | _____________^ [INFO] [stdout] 167 | | io::ErrorKind::Other, [INFO] [stdout] 168 | | format!("tar failed with status: {}", status), [INFO] [stdout] 169 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 166 ~ Err(io::Error::other( [INFO] [stdout] 167 ~ format!("tar failed with status: {}", status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | return Err(io::Error::new( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 31 | | io::ErrorKind::Other, [INFO] [stdout] 32 | | format!("Copy error: {}", status), [INFO] [stdout] 33 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 30 ~ return Err(io::Error::other( [INFO] [stdout] 31 ~ format!("Copy error: {}", status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | return Err(io::Error::new( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 48 | | io::ErrorKind::Other, [INFO] [stdout] 49 | | format!("Find error: {}", output.status), [INFO] [stdout] 50 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 47 ~ return Err(io::Error::other( [INFO] [stdout] 48 ~ format!("Find error: {}", output.status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | / io::Error::new( [INFO] [stdout] 55 | | io::ErrorKind::Other, [INFO] [stdout] 56 | | format!("Find output not UTF-8: {}", err), [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 54 ~ io::Error::other( [INFO] [stdout] 55 ~ format!("Find output not UTF-8: {}", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | io::Error::new(io::ErrorKind::Other, "Find time not valid".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 65 - io::Error::new(io::ErrorKind::Other, "Find time not valid".to_string()) [INFO] [stdout] 65 + io::Error::other("Find time not valid".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | / io::Error::new( [INFO] [stdout] 70 | | io::ErrorKind::Other, [INFO] [stdout] 71 | | format!("Find time not a number: {}", err), [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 69 ~ io::Error::other( [INFO] [stdout] 70 ~ format!("Find time not a number: {}", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | None => Err(io::Error::new( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 90 | | io::ErrorKind::Other, [INFO] [stdout] 91 | | "Find time not found".to_string(), [INFO] [stdout] 92 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 89 ~ None => Err(io::Error::other( [INFO] [stdout] 90 ~ "Find time not found".to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | return Err(io::Error::new( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 106 | | io::ErrorKind::Other, [INFO] [stdout] 107 | | format!("Git clone error: {}", status), [INFO] [stdout] 108 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 105 ~ return Err(io::Error::other( [INFO] [stdout] 106 ~ format!("Git clone error: {}", status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | return Err(io::Error::new( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 123 | | io::ErrorKind::Other, [INFO] [stdout] 124 | | format!("Git log error: {}", output.status), [INFO] [stdout] 125 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 122 ~ return Err(io::Error::other( [INFO] [stdout] 123 ~ format!("Git log error: {}", output.status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | / io::Error::new( [INFO] [stdout] 130 | | io::ErrorKind::Other, [INFO] [stdout] 131 | | format!("Git log output not UTF-8: {}", err), [INFO] [stdout] 132 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 129 ~ io::Error::other( [INFO] [stdout] 130 ~ format!("Git log output not UTF-8: {}", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | / io::Error::new( [INFO] [stdout] 137 | | io::ErrorKind::Other, [INFO] [stdout] 138 | | format!("Git log time not a number: {}", err), [INFO] [stdout] 139 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 136 ~ io::Error::other( [INFO] [stdout] 137 ~ format!("Git log time not a number: {}", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | _ => Err(io::Error::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 145 | | io::ErrorKind::Other, [INFO] [stdout] 146 | | format!("Unknown source kind: {}", self.kind), [INFO] [stdout] 147 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 144 ~ _ => Err(io::Error::other( [INFO] [stdout] 145 ~ format!("Unknown source kind: {}", self.kind), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | return Err(io::Error::new( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 31 | | io::ErrorKind::Other, [INFO] [stdout] 32 | | format!("Copy error: {}", status), [INFO] [stdout] 33 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 30 ~ return Err(io::Error::other( [INFO] [stdout] 31 ~ format!("Copy error: {}", status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | return Err(io::Error::new( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 48 | | io::ErrorKind::Other, [INFO] [stdout] 49 | | format!("Find error: {}", output.status), [INFO] [stdout] 50 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 47 ~ return Err(io::Error::other( [INFO] [stdout] 48 ~ format!("Find error: {}", output.status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | / io::Error::new( [INFO] [stdout] 55 | | io::ErrorKind::Other, [INFO] [stdout] 56 | | format!("Find output not UTF-8: {}", err), [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 54 ~ io::Error::other( [INFO] [stdout] 55 ~ format!("Find output not UTF-8: {}", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | io::Error::new(io::ErrorKind::Other, "Find time not valid".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 65 - io::Error::new(io::ErrorKind::Other, "Find time not valid".to_string()) [INFO] [stdout] 65 + io::Error::other("Find time not valid".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | / io::Error::new( [INFO] [stdout] 70 | | io::ErrorKind::Other, [INFO] [stdout] 71 | | format!("Find time not a number: {}", err), [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 69 ~ io::Error::other( [INFO] [stdout] 70 ~ format!("Find time not a number: {}", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | None => Err(io::Error::new( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 90 | | io::ErrorKind::Other, [INFO] [stdout] 91 | | "Find time not found".to_string(), [INFO] [stdout] 92 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 89 ~ None => Err(io::Error::other( [INFO] [stdout] 90 ~ "Find time not found".to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | return Err(io::Error::new( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 106 | | io::ErrorKind::Other, [INFO] [stdout] 107 | | format!("Git clone error: {}", status), [INFO] [stdout] 108 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 105 ~ return Err(io::Error::other( [INFO] [stdout] 106 ~ format!("Git clone error: {}", status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | return Err(io::Error::new( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 123 | | io::ErrorKind::Other, [INFO] [stdout] 124 | | format!("Git log error: {}", output.status), [INFO] [stdout] 125 | | )); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 122 ~ return Err(io::Error::other( [INFO] [stdout] 123 ~ format!("Git log error: {}", output.status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | / io::Error::new( [INFO] [stdout] 130 | | io::ErrorKind::Other, [INFO] [stdout] 131 | | format!("Git log output not UTF-8: {}", err), [INFO] [stdout] 132 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 129 ~ io::Error::other( [INFO] [stdout] 130 ~ format!("Git log output not UTF-8: {}", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | / io::Error::new( [INFO] [stdout] 137 | | io::ErrorKind::Other, [INFO] [stdout] 138 | | format!("Git log time not a number: {}", err), [INFO] [stdout] 139 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 136 ~ io::Error::other( [INFO] [stdout] 137 ~ format!("Git log time not a number: {}", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/source.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | _ => Err(io::Error::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 145 | | io::ErrorKind::Other, [INFO] [stdout] 146 | | format!("Unknown source kind: {}", self.kind), [INFO] [stdout] 147 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 144 ~ _ => Err(io::Error::other( [INFO] [stdout] 145 ~ format!("Unknown source kind: {}", self.kind), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.75s [INFO] running `Command { std: "docker" "inspect" "f303397f88fb5ac2dca74b72c5a4cab0b943ae48d044998b70f7e5e6c4129db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f303397f88fb5ac2dca74b72c5a4cab0b943ae48d044998b70f7e5e6c4129db2", kill_on_drop: false }` [INFO] [stdout] f303397f88fb5ac2dca74b72c5a4cab0b943ae48d044998b70f7e5e6c4129db2