[INFO] cloning repository https://github.com/elderfd/genedrop_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elderfd/genedrop_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felderfd%2Fgenedrop_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felderfd%2Fgenedrop_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3440a8f00e9d4a358e44f6f9045c86649e02f5f4 [INFO] linting elderfd/genedrop_rust against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felderfd%2Fgenedrop_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/elderfd/genedrop_rust [INFO] finished tweaking git repo https://github.com/elderfd/genedrop_rust [INFO] tweaked toml for git repo https://github.com/elderfd/genedrop_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elderfd/genedrop_rust 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/elderfd/genedrop_rust 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 quote v1.0.3 [INFO] [stderr] Downloaded readonly v0.1.5 [INFO] [stderr] Downloaded uuid v0.8.1 [INFO] [stderr] Downloaded version_check v0.9.1 [INFO] [stderr] Downloaded error-chain v0.12.2 [INFO] [stderr] Downloaded cc v1.0.50 [INFO] [stderr] Downloaded proc-macro2 v1.0.10 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded rustc-demangle v0.1.16 [INFO] [stderr] Downloaded syn v1.0.17 [INFO] [stderr] Downloaded backtrace v0.3.46 [INFO] [stderr] Downloaded libc v0.2.68 [INFO] [stderr] Downloaded backtrace-sys v0.1.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] fc2d57a0efb5aab21c008119dbebcd20258f4578bb774a06b074b980a8a5d0e3 [INFO] running `Command { std: "docker" "start" "-a" "fc2d57a0efb5aab21c008119dbebcd20258f4578bb774a06b074b980a8a5d0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc2d57a0efb5aab21c008119dbebcd20258f4578bb774a06b074b980a8a5d0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc2d57a0efb5aab21c008119dbebcd20258f4578bb774a06b074b980a8a5d0e3", kill_on_drop: false }` [INFO] [stdout] fc2d57a0efb5aab21c008119dbebcd20258f4578bb774a06b074b980a8a5d0e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b9de58ba10195b8d6113328f63548f845f99321f4cbd7e5f922276acf9e7813f [INFO] running `Command { std: "docker" "start" "-a" "b9de58ba10195b8d6113328f63548f845f99321f4cbd7e5f922276acf9e7813f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling readonly v0.1.5 [INFO] [stderr] Checking genedrop_core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | error_chain! {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | error_chain! {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/chromosome.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | choose_from = &father_chromosome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: change this to: `father_chromosome` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/chromosome.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | other_chromosome = &mother_chromosome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: change this to: `mother_chromosome` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/chromosome.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | choose_from = &mother_chromosome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: change this to: `mother_chromosome` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/chromosome.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | other_chromosome = &father_chromosome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: change this to: `father_chromosome` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/chromosome.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | choose_from = &father_chromosome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: change this to: `father_chromosome` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/chromosome.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | other_chromosome = &mother_chromosome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: change this to: `mother_chromosome` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/chromosome.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | choose_from = &mother_chromosome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: change this to: `mother_chromosome` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/chromosome.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | other_chromosome = &father_chromosome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: change this to: `father_chromosome` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/chromosome.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | assert!(!mother_err.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `mother_err.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `new_uuid` should have an upper case name [INFO] [stdout] --> src/individual.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | static new_uuid: fn() -> Uuid = Uuid::new_v4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 9 - static new_uuid: fn() -> Uuid = Uuid::new_v4; [INFO] [stdout] 9 + static NEW_UUID: fn() -> Uuid = Uuid::new_v4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/individual.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_gamete(&self, homology_index: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_gamete(&self, homology_index: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `new_uuid` should have an upper case name [INFO] [stdout] --> src/individual.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | static new_uuid: fn() -> Uuid = Uuid::new_v4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 9 - static new_uuid: fn() -> Uuid = Uuid::new_v4; [INFO] [stdout] 9 + static NEW_UUID: fn() -> Uuid = Uuid::new_v4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/individual.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_gamete(&self, homology_index: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_gamete(&self, homology_index: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.56s [INFO] running `Command { std: "docker" "inspect" "b9de58ba10195b8d6113328f63548f845f99321f4cbd7e5f922276acf9e7813f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9de58ba10195b8d6113328f63548f845f99321f4cbd7e5f922276acf9e7813f", kill_on_drop: false }` [INFO] [stdout] b9de58ba10195b8d6113328f63548f845f99321f4cbd7e5f922276acf9e7813f